basenxuser
Mechanical
- Sep 27, 2007
- 69
Hello All,
I am trying to achieve a colorful shaded image of display using the following commandBut it is giving monochrome image). Any suggestion will help.
Dim options As New UFDisp.ShadeOptions
options.disable_raytracing = True
options.distribute_excess_light = True
options.facet_quality = 1
options.resolution = 400
options.plot_quality = UFDisp.ShadePlot.PlotFine
options.generate_shadows = False
options.transparent_shadows = False
options.fixed_camera_viewing = False
options.super_sample = 3
options.raytrace_memory = 128
options.subdivision_depth = 6
options.radiosity_quality = 15
options.distribute_excess_light = False
options.use_midpoint_sampling = True
options.format = UFDisp.ShadeFormat.FormatRaster
options.display = UFDisp.ShadeDisplay.DisplayNearestRgb
Dim X_size As Int32 = 640
Dim Y_size As Int32 = 480
theUFSession.Disp.BatchShadeOptions("C:\demo\Images\Test.jpg", X_size, Y_size, UFDisp.ShadeMethod.PhotoReal, options)
Regards,
basenxuser
I am trying to achieve a colorful shaded image of display using the following commandBut it is giving monochrome image). Any suggestion will help.
Dim options As New UFDisp.ShadeOptions
options.disable_raytracing = True
options.distribute_excess_light = True
options.facet_quality = 1
options.resolution = 400
options.plot_quality = UFDisp.ShadePlot.PlotFine
options.generate_shadows = False
options.transparent_shadows = False
options.fixed_camera_viewing = False
options.super_sample = 3
options.raytrace_memory = 128
options.subdivision_depth = 6
options.radiosity_quality = 15
options.distribute_excess_light = False
options.use_midpoint_sampling = True
options.format = UFDisp.ShadeFormat.FormatRaster
options.display = UFDisp.ShadeDisplay.DisplayNearestRgb
Dim X_size As Int32 = 640
Dim Y_size As Int32 = 480
theUFSession.Disp.BatchShadeOptions("C:\demo\Images\Test.jpg", X_size, Y_size, UFDisp.ShadeMethod.PhotoReal, options)
Regards,
basenxuser