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.!!