473,406 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

3d Transformation

Got a 3d algorithmns question. Algorithmn will be implemented in python,
so a library would be great if it works on windows. Basically my function
would be defined as such.

Problem is one of coordinate transformation. Give a 3d vector, which
reprents the +z axis in the source coordinate system, and a rotation value
around that axis for determinging the x and y axises, I wish to translate
a point from that geometry into "world" geometry, or in other words
absolute coordinates. Input data is a 3d path with banking data that will
be sampled at regular points for purposes of building other geometry.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Nov 30 '05 #1
1 2119
Tyler Eaves wrote:
Got a 3d algorithmns question. Algorithmn will be implemented in python,
so a library would be great if it works on windows. Basically my function
would be defined as such.

Problem is one of coordinate transformation. Give a 3d vector, which
reprents the +z axis in the source coordinate system, and a rotation value
around that axis for determinging the x and y axises, I wish to translate
a point from that geometry into "world" geometry, or in other words
absolute coordinates. Input data is a 3d path with banking data that will
be sampled at regular points for purposes of building other geometry.

You can find code for doing this in the OpenGLContext project. The
lowest-level code is in the vrml.vrml97.transformmatrix module, which
just generates matrices for the various transformations, rotations and
scales. You can find the module here:

http://cvs.sourceforge.net/viewcvs.p...py?view=markup

the module also allows for generating inverse arrays (what you use for
transforming from outer coordinates to inner, instead of inner to
outer), and has an accelerator C module for much of the functionality.

The higher levels in OpenGLContext support compositing multiple
transformations in a containment hierarchy for a scenegraph. See e.g.
OpenGLContext/scenegraph/transform and OpenGLContext/scenegraph/nodepath
module for that higher-level stuff.

Anyway, hope this helps,
Mike

--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com

Nov 30 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sergio del Amo | last post by:
Hi, I use the xslt functions provided by php. I am running in my computer the package xampp(www.apachefriends.org) which includes php/apache/mysql .. In this package the php includes the sablotron...
4
by: Kevin Dean | last post by:
I'm trying to create an XSL transformation that will strip out development-specific attributes from deployment descriptors and other XML files. I have already successfully done so with web.xml but...
7
by: CK | last post by:
Hello, I have the 60 MB XML string and I am coding a program in Visual Basic to run a XSL transformation on it. Currently, I'm using the Microsoft standard MSXML 2.0 to create a DOM document, load...
2
by: TomekR | last post by:
Hello ! I was developing xslt sheet lately and - experimenting - I made mistake resulting in that, the effect of the transformation is not well-formed xml document. I made these tests using...
2
by: HendrikLeder | last post by:
Hello everybody :-) Next year I`ll write my diploma in computer science for business (It`s a degree in Germany) and I`ve some questions about the topic. The diploma will handle about refactoring...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.