#196 new
garcipat

insert nodes with rotation X , rotation Y, translation

Reported by garcipat | March 25th, 2011 @ 01:50 PM

Hi

I create json objects with pitch->yaw->translation->geometry and past it at the scene,
each of my geometries gets its own rotation and translation, so I can position these everywhere and order them.

like

var xyz ={type: "rotation",...
nodes:[{ type: "rotation",...
nodes:[{type: "translation",...
nodes:[{type: "geometry",...
}]}]}]};

and then put after the lights ..},xyz

but if I change the angles of the roatations, nothing happens. The translation and the graph works.
Is that caus of the mouseevent thing that changes the rotation nodes?

btw: Am I right if I think this is something like a forum? Im sorry if its not like that.Im just looking for help.

Thanks

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.

Shared Ticket Bins

People watching this ticket

Pages