News:

 

Topic: [Fixed] View + Raycast  (Read 5368 times)

0 Members and 1 Guest are viewing this topic.

  • No avatar
  • Posts: 2103
  • Polygon
March 24, 2015, 08:53:42 pm
Hi IStonia,

I use various functions for View navigation, but am having issues where the raycast is casting through front_facing polygons to the back_facing behind. It does not happen all the time, but does happen too much.

As example, I use:-

"Set View Focusing Point"
"Window Zoom View"
View Rotation Pivot style > "PointOfInterest"

All of which use raycasting, and all causing issue.

When you can find time, could you please have a look to see if raycasting on those functions can be improved.

Thanks.
« Last Edit: April 14, 2015, 11:36:45 pm by steve »

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
March 25, 2015, 05:45:03 am
Not sure what is the problem. What is the result you expected and what is the incorrect result?

  • No avatar
  • Posts: 2103
  • Polygon
March 25, 2015, 07:10:43 am
Hi IStonia,

Not sure what is the problem.
I will try to simplify.

Lets say for simple example, I have a box(primitive) in scene and I use "Window Zoom View" dragging the zoom window across a face of the box curently facing the camera(view)
 
Quote
What is the result you expected
I would expect that the view focus point would now be on the polygon that was under the center of the zoom window, and zoomed in showing the outside of the box.
 
Quote
and what is the incorrect result?
The focus point is on the opposite side of the box, and have zoomed inside the box.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
April 12, 2015, 10:00:34 am
I did something. Hopefully it's better now.

  • No avatar
  • Posts: 2103
  • Polygon
April 14, 2015, 11:36:22 pm
The "Set View Focusing Point" changes behaviour depending on what type of zoom was last used, but I am not complaining, it works quite well.

Many thanks.