Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
no, workaround is to rotate sphere by certain amount, this was mentioned few 
times 
on pv3d list.

Original comment by [email protected] on 10 Sep 2008 at 12:20

from panosalado.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
here is relevant message:

Aleksandar Mancic to papervision3d on May 12 Reply


Yaw offset depends on number of horizontal segments due to way of how sphere is 
built - it's built top-down, not left-right, so start of horizontal polys wont 
always be in the same position - they will have offset of horizontal segment 
angle. 
To get the correct yaw for `face-front` you can use something like:

sphere.yaw(90 - 360/numberOfSegmentsW); // for degrees based system

or

sphere.yaw(Math.PI/2 - 2*Math.PI/numberOfSegmentsW); // for radians based system

Hope it helps...

Original comment by [email protected] on 10 Sep 2008 at 12:22

from panosalado.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
basically, the same with sandy sphere - 
http://www.flashsandy.org/tutorials/3.0/sandy_cs3_tut15a - seems like same code 
was 
used in all the engines...

Original comment by [email protected] on 10 Sep 2008 at 12:26

from panosalado.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Wow! Fantastic!  I didn't expect to get a solution by posting my own bug.  I'll 
have to do that more often!  THANK 
YOU!

I will implement the yaw workaround right this minute.  That was basically the 
sort of thing I was thinking I 
would have to work out on my own, since I looked at the sphere primitive and 
thought about modifying it and 
then got all depressed.

Zephyr

Original comment by [email protected] on 10 Sep 2008 at 4:28

from panosalado.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
this has been addressed and is in the source code for panosalado.

Original comment by [email protected] on 27 Oct 2008 at 11:48

  • Changed state: Fixed

from panosalado.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.