AccuRender nXt

advanced rendering for AutoCAD

I saved an impage as nxt image with 6 lighting channels and was able to see it while rendering quite well and control the lights of the lighting channels.

 

Now when I try to open the image using Image Editor, I get the following unbundled exception message. This is the 249 build. Is this a memory problem on this computer?

 

Message below:

 

----------------------------------------------------------------------

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ArPictureEditor.ImageDisplay.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
nXtImageEditor
Assembly Version: 1.0.4043.39224
Win32 Version: 1.0.249.0
CodeBase: file:///C:/Program%20Files/AccuRender%20nXt/nXtImageEditor.exe
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.4148
Win32 Version: 9.00.30729.4148
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e/msvcm90.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Views: 446

Reply to This

Replies to This Discussion

So I was able to reproduce this in XP-- looks like it's a simple case of the memory manager being less efficient in XP than in subsequent operating systems.  Using the /3GB switch in the boot.ini file I was able to successfully load this.  This switch allows 32 bit operating systems to devote 3GB of address space to each process instead of the default 2GB.  The ultimate solution for you is clearly a 64 bit OS, but this procedure will probably allow you to keep going for a while (until the images get too large for even this.)

 

The Rhino wiki page for doing this is here.  Follow the XP instructions. Don't worry too much about the warnings-- there are rare situations where this switch causes problems-- you're not likely to encounter these.  Just remove it (you may have to reboot in safe mode) if it does.

OK, I'll try that, but it seems a little risky...

 

Curious, though that your instructions are to add this line to the "boot.ini":

 

multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=“Microsoft Windows XP Professional” /fastdetect /NoExecute=OptIn /3GB

 

But when I opened the "boot.ini", it looked as if that instruction was already there:

 

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional 3GB" /3GB /fastdetect

 

Any custom advise given the details of my "boot.ini" file? I'm not going to try this until the end of the day. Thanks.



You've already got two boot choices-- if you select the second one during boot up (with the 3GB in the title) you should boot up "large address aware".

Thanks, this worked! Something our IT guy did not explain, but apparently they've had some need for it before...

 

Any thoughts on running a script in the image editor to get different light effects from different channels and animating an image?


It's been noted as a feature request.  Like I said, it is intriguing.

RSS

Search

Translate

Latest Activity

Thorsten Hedrich commented on Thorsten Hedrich's photo
Thumbnail

corten_pavillon_22mm_1

"Thanks for your kind words. Yes, all plants are generated with nxt plant-editor. I have used leaves from Marc Chaumier's plant library. (Download/ Content + Entourage)"
Feb 1
OYEBANJI EMMANUEL commented on Thorsten Hedrich's photo
Thumbnail

corten_pavillon_22mm_1

"Very nice piece. Brilliant work.  Are all these plants nxt render plants ? They look very good. Ground cover is so thoughtful."
Jan 31
Thorsten Hedrich posted photos
Jan 28
OYEBANJI EMMANUEL replied to OYEBANJI EMMANUEL's discussion Questions for nxt render for autocad
"Thank you so much."
Jan 22
Daniel Holz replied to Daniel Holz's discussion PBR Textures in nxtRender for Autocad
"Sorry, do not exactly how to do it right. If i sent you one or  sets, could you "compose" one material as an example? Maybe this is interesting for others too.."
Jan 2
Daniel Holz replied to Daniel Holz's discussion PBR Textures in nxtRender for Autocad
"Thanks Rich, exacvtly what i found out. Only did't know what to dfo with the AO map.."
Dec 31, 2025
Rich Hart replied to Daniel Holz's discussion PBR Textures in nxtRender for Autocad
"nXtRender doesn't use the AO texture image settings for anything, so don't bother trying to use that. I would start use the Diffuse textures at 100% and experiment with the levels of the Specular Reflection. You might need to toggle the…"
Dec 30, 2025
Daniel Holz replied to OYEBANJI EMMANUEL's discussion Questions for nxt render for autocad
"Hi,i imported some old Dosch 3D plants in nxtRender for testing, fully textured without an issue. Also used some free sketchup tree models (*.skp) from sketchuptextureclub and opened them in sketchup, exportet them to *.obj and used them in…"
Dec 29, 2025

© 2026   Header image courtesy Peter Milner   Powered by

Badges  |  Report an Issue  |  Terms of Service