Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: AccessViolatonError revisited (w/ 2 code samples and pics)  (Read 1147 times)
anwserman
Community Member
*
Posts: 1071


« on: August 03, 2006, 08:29:30 PM »

Hey everyone,

Wanted to post a URL to my code for my project, along with screenshots.


This is what happens when I do a landscape render within a try/catch statement.  It continues rendering, and is just the water. (without the try/catch, it would otherwise throw an AccessViolatonError)

Rotate the camera a bit, without closing out of TV, same scene, without reloading the map, and it renders fine within the try/catch statement without a hitch.

Project file, vb2005: http://lucky-s-designs.com/streets/bug.zip
Also it saves the debug file to "c:\debug.txt", and open/save read/write to a file "c:\foo.xml" by default.
-----------------------
controls are as such:
***camera mode (f1)***
a/z raises, lowers camera
uparrow/downarrow moves camera forward, backward
leftarrow/rightarrow rotates camera on Y axis
***edit mode (f2)***
right clicking on a mesh or terrain will move a terrain, mesh, or entity to that location (actor2s are not enabled yet, though you can still create an actor object)
------------------------
I think the bug lies within the texture factory, as the same thing happens when I delete the textures from memory and try to render something.   this sample is right here: http://lucky-s-designs.com/streets/tvCrash.zip (once again, vb2005).

EDIT: You might have to create a new project and import all of the files in, and it should run... i downloaded my code to another machine, and thats what I had to do (and the editor works fine on the new machine, in a new project with correct references!!!)
Logged

Temp sig, this is a temp sig.
Smiley
Rynus_Rein
Community Member
*
Posts: 1010


« Reply #1 on: August 04, 2006, 08:57:51 AM »

I normally get a AccesViolationError using TV when I didnt init an object i.e.
Logged

Rynus Rein
Current Project: MapX Live, Society3D
pizzayoyo
Customers
Community Member
*****
Posts: 1320


WWW
« Reply #2 on: August 04, 2006, 09:51:08 AM »

So how do you use it? All of the controls remain disabled on startup.

Edit: Figured it out.
Logged

Matti_
Community Member
*
Posts: 47


« Reply #3 on: August 05, 2006, 06:44:57 PM »

Maybe this is an 'In-Development' topic.
Logged

Please don't build games with killing and death.
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks