jinjuyu / sproxel

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

Misplaced voxels, Possible raycast issue. #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a large grid, something like 64^3 or bigger.
2. start placing cubes towards the center.
3. ????
4. Profit?

What is the expected output? 
Voxels to be placed on the face I clicked on.

What do you see instead?
Sometimes when I am zoomed out a bit, the voxel will be placed on perimeter 
slot in the grid instead of growing off of the face I clicked on. 

Other times, when I am zoomed in close, the voxel will attach to the backside 
of the model. Like, the ray cast missed the first face, blew right through the 
model, collided with the back face, and placed the voxel growing off that back 
face. The vector is correct, just on the wrong side of the model.

What version of the product are you using? 
0.4

On what operating system?
Win7-64

Original issue reported on code.google.com by HaveYouS...@gmail.com on 20 Jul 2011 at 7:30

GoogleCodeExporter commented 9 years ago
Ah yes, I believe I have seen this before.  The last time I saw it, I had 
guessed it was because the ray was being shot from within the voxel grid.  In 
other words, the camera was inside the grid.  There is a very good chance this 
has been fixed with some new code Electrical Dog has submitted.  

When I release the next version, I will check this bug and try to remember to 
remind you to check it in your own way as well.

Thanks for the feedback!

Original comment by androo.g...@gmail.com on 20 Aug 2011 at 2:53

GoogleCodeExporter commented 9 years ago
I believe Sproxel v0.5 has fixed this issue.  Please report if the problem 
comes up again!

Original comment by androo.g...@gmail.com on 10 Sep 2011 at 5:11