ClothildeC / tonatiuh

Automatically exported from code.google.com/p/tonatiuh
0 stars 0 forks source link

several issues noticed from commit on 4-27-09 #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Material Generic will not compile because of a change in instancenode.cpp
2. Rays are not displaying properly after ray tracing
3. Shapecone is not properly calculating ray intersections
4. Rays are not reflected internally in objects,  for example a ray will
not bounce from one side of a parabolic trough to the other side
5. Attempting to edit the properties of a sunshape once it has been created
can cause a crash

Original issue reported on code.google.com by victorjf...@gmail.com on 28 Apr 2009 at 12:41

GoogleCodeExporter commented 8 years ago
I have been changed MaterialGeneric plugin to compile with the changes done to 
Tonatiuh. MaterialGeneric.pro file was without modify. I have checked the 
plugin in 
tow different OS and the plugins compiles without errors.

Original comment by amaiamut...@gmail.com on 28 Apr 2009 at 8:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
3.-I have started working in the shape cone plugin to correct the ray 
intersection 
with 
the rays. I've changed cuadratic coefficients because they were not correctly 
computed. The point derivates must be revised to verify they are correct. 

Original comment by amaiamut...@gmail.com on 28 Apr 2009 at 2:31

GoogleCodeExporter commented 8 years ago
Material Generic now compiles but I get the same error from the same line in 
the same
file when compiling the photonmap plugin now.

Creating library file: ..\Tonatiuh\plugins\PhotonMap\libPhotonMapd.a
./debug\InstanceNode.o: In function
`ZN12InstanceNode9IntersectERK3RayR13RandomDeviateP4QMapIPS_5QPairI7SbBox3fP9Tra
nsformEEPS6_':
C:/eclipse/workspace/TonatiuhProject/PhotonMap/../Tonatiuh/src/InstanceNode.cpp:
236:
undefined reference to `TShape::getClassTypeId()'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [..\Tonatiuh\plugins\PhotonMap\PhotonMapd.dll] Error 1

Also, I am still not able to see rays when I run the solar concentrator 
example,  But
when I create a new scene with just a light and an object I am able to see 
them.  Do
you have any idea what could cause this behavior?  

Originally I thought I had done something because I was working on the 
detection of
front and back surfaces, but I reverted some of the plugins to the server 
version and
they still do not detect ray intersections when they should.  Its not just that 
the
rays arent being drawn, the plugin's intersection routine is never called.  
Could you
verify that your new ray tracing routine works with the solar furnace example 
for me?
 Somehow the rays aren't making it from the light source to the first heliostat.

Original comment by victorjf...@gmail.com on 28 Apr 2009 at 2:47

GoogleCodeExporter commented 8 years ago
I have downloaded the solar furnace file and all its ok. I have not problems.

Also I have start changing photon map class because in the new ray traicer 
Tonatiuh 
uses only one photon map. I have added a photon map example to the repositoy.

Original comment by amaiamut...@gmail.com on 29 Apr 2009 at 11:40

GoogleCodeExporter commented 8 years ago

Original comment by amaiamut...@gmail.com on 31 Jul 2009 at 10:26