Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Leda > c plus plus
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 178 of 212
Post > Topic >>

c plus plus

by f.n.mcpherson@[EMAIL PROTECTED] (Finlay) Nov 29, 2004 at 06:43 AM

Hello i have been programming an application that reads a vrml file
into a hoops viewer. The application then takes the vrml file and
generates a list of co-ordinates for the surface points with a vector
representing the surface normal.

I have been attempting to develop a ray -tracing routine that tells a
user if the surface noraml is obstructed by the object at any other
point.
I have managed to develope a prototype routine that tells the user
that a surface obstructs the noraml vector however this with the
processing of all the points takes a rather long period of time.

(We are dealing with models with upto 1million points)

I have discovered that the problem works fine when i use just a small
amount of the model to generate points and ray fire. et.c.

However when i us ethe compleate model i have major difficulties and
eventually my computer with tell me Programme no responding. Initially
i thought this was a memory problem and the computer was struggling to
handle the amount of data. However having looked at the windows task
manager it tells me the programme only occupies 51% of the processing
power and only 200MB of ram.

Any suggestions or advice would be helpful if you agree that this is
lighly a memory problem that would be good to hear too.!!




 1 Posts in Topic:
c plus plus
f.n.mcpherson@[EMAIL PROT  2004-11-29 06:43:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 0:34:23 CDT 2008.