AccuRender nXt

advanced rendering for AutoCAD

I've rendered about 40 images for product presentation over the past few days via 'batch' rendering directly in nXt and with the nXt Farm with all out put as .nXtImage files so that I could further manipulate the images as need before inserting into various documents.  As I'm performing post production on the images, I realize there is a hard line gradient in all of the images displayed in the Image Editor. All images saved as JPG from the Image Editor also have these hard line shadows.

I've attached screen captures of the output. The first image is a capture of the render window and represents how JPG output from nXt appears as well, smooth gradient on the floor. The second image is a capture of the Image Editor screen and also represents how the JPG out put looks when saved from the Image Editor.

I got the same results with both builds 283 and 284 Image Editor.

Views: 236


Reply to This

Replies to This Discussion

When you get a chance-- try saving from the Image Editor to png.  This will help me determine if this is a jpg compression problem or some other Image Editor problem.

Thanks for looking Roy. Same result -see attached


I just read your message a little more carefully-- it does sound like the nXtImage is bad.  

This isn't happening here-- until I can make it happen I wouldn't even know where to start.  See if you can come up with a simple procedure to reproduce the problem.  If you can, stop and upload all of the necessary files and explain the procedure.

you can grab the file here:

It's about a 7MB download. This is the DWG with related files in an ACAD eTransmit folder.

The unorthodox approach I took to lighting this model is most likely the source of the problem when it hits the Image Editor, and the reason you'll need to see the original file. I tried to replicate this with a smaller model, but was unable to get the same lighting effect. It's an old school quasi light dome set-up that I've been using for years and often resort back to when I do not have an HDR providing the needed effect.

So... render the model "VIEW 1" (I did at 3300x3300, but resolution doesn't seem to matter. I tried it at lessor resolutions and got the same result)

The number of passes don't seem matter either. My original was a 20 passes. I've tested this at 40+ and as few as 6 and have gotten the same result.

save the output as a JPG or PNG and you will see the image background is smooth, colors on the model are correct, wood grain represented properly.

save the output as an nXtImage.

open in the Image Editor - you will see the "stepped" shadowing in the background. The colors of the wood grain will appear over saturated. The image actually looks like it is being processed with 256 colors as opposed to 16 million.

Thanks again for looking Roy.

Ah-- if you've got an nXtImage file hand I can take a look at that and may be able to tell right away-- without running your model.  It's possible that the actual luminance values using your method are either very low or very high.  The nXtImage file does compress the original floating point data using a similar method to .exr files.  This is normally not a problem if the lighting in the drawing is in a "normal" range.  However, very low values can result in a precision loss and very high values are clipped.

Never mind-- it was obvious once I ran the model.  As suspected-- the lighting values are way too low.  You'll need to use a lighting scheme that brings that up to something reasonable if you want to use the .nXtImage format.  If you move your cursor around the image and see a lot of zeros for values in non-black parts of the image, you're in trouble.

That did it, I increased the light source to 900,000 lumens. It was at just 12,000. Even at 900k, the values were at .001. I increased the lighting to 2 million lumens and get a reading of .012 on the floor. Even so, at 900K, the image made a trip through the Image Editor just fine.

I know this has been asked and answered before, but what is a good average to shoot for? and can you give to me, again, the formula for deciphering the lighting values at the bottom of the screen.

Thanks again, for your help. Glad it was my bad, and not your code.


The Luminance units are in cd/m^2 and have a huge range.

An average gray surface in direct sunlight will measure something like 15,000.

The same surface on a cloudy day might be 1000.

Indoors, in a bright, daylit interior (out of direct light) and you might get a value like 500-- under artificial light at night, perhaps 50.

Moonlight on a forest floor might be 0.001.

You can find typical values if you poke around online-- there are some here.




Latest Activity

Roy Hirshkowitz replied to Peter Milner's discussion Sun settings
"In this case, yes, it's subtle.  It's only readily apparent in the reflection of the window in the upper right quadrant of the sphere (as expected) where a small, bright, reflection of the solar disk can be seen.  I'm…"
Peter Milner replied to Peter Milner's discussion Sun settings
"Here is the same test with a glossy object. There is a very subtle difference in the reflection and the lighting. "
Rich Rosemann replied to Peter Milner's discussion Sun settings
"I'm very good at optical mis-conclusions. "
Apr 26
Roy Hirshkowitz replied to Peter Milner's discussion Sun settings
"Looks like there's some code to handle this in both the path tracer and hybrid engines.  A little unclear in the packet tracer."
Apr 26
Roy Hirshkowitz replied to Peter Milner's discussion Sun settings
"I'll have to look to see which engines respect that switch, I can't remember off-hand.  It controls whether glossy reflections get a contribution from the direct sun component.  The easiest way to see it would be to create a…"
Apr 26
Peter Milner replied to Peter Milner's discussion Sun settings
"If you flick between the two images full screen, there is actually no difference at all. Seeing one above the other makes them look slightly different, but it's just an optical illusion."
Apr 26
Rich Rosemann replied to Peter Milner's discussion Sun settings
"One image does seem to be a bit brighter.  Maybe it opens up the shadows a bit.  Or raises the ambient light. .....or something."
Apr 26
Peter Milner posted a discussion

Sun settings

Under the Sun settings, what does Sun Highlight do?I've tried it set to 0 and 1, but there doesn't seem to be any difference.See More
Apr 26

© 2016   Header image courtesy Peter Milner   Powered by

Badges  |  Report an Issue  |  Terms of Service