|
|
Up |
|
|
  |
Author: marmumarmu
Date: Dec 22, 2006 06:50
Hello everyone,
I`m having great trouble by programming the following:
We are programming a miniature golf-game at university.
We want to enable the user to rotate, zoom and translate everything he
sees at once. We did this with an OrbitBehavior. As far as I know an
OrbitBehavior cannot be limited to angles and zoomfactor, is that
right? Because later we want to limit the zoom and the user shoudn`t be
able to look beneath the ground.
The other thing is an arrow, which we want to use for the drive. The
user should rotate it around one axis to set the direction. And the
size of the arrow should represent the power of the drive.
Problem here is the rotation around one axis.
This is not want the PickRotateBehavior is for. Probably I have to
program my own behavior but how?
I`m using PickRotateBehavior and PickZoom. But Zoom doesn`t change the
size, it does what its name says, it zooms. So the arrow gets nearer to
the user...
|
| Show full article (1.72Kb) |
|
| |
3 Comments |
|
  |
Author: Thomas PartschThomas Partsch
Date: Dec 19, 2006 04:40
Hi there!
In Daniel Selmans book "Java 3D Programming" (ISBN 1930110359) there is
an example given for scheduling bounds for a behavior (page 165):
There is a behavior that rotates a wheel only if the car is within 20
meters of the viewer. That is, if the Bounds for the Behavior intersect
the ViewPlatform's activation region.
My question is now: What are the parameters for the Bounds? Radius is 20
meters, of course, but where is the origin of that BoundingSphere
(considering it would be a BoundingSphere)?
Regards,
Thomas
|
| |
|
| |
5 Comments |
|
  |
Author: Dimitri OgnibeneDimitri Ognibene
Date: Dec 18, 2006 16:02
Where can i find some docs on physical engines and some benchmark
suite?
I was trying some by my self.. I must write a simulator for an
anthropomorphic learning robot...
but other then the API I don't know how to compare speed and accuracy
is there any benchmark suite or a standard set of test?
Or is someone interested in building one?
let me know.
I'll post this message in every forum I know related to physical
engines
C u
Dimitri Ognibene
|
| |
|
1 Comment |
|
  |
Author:
Date: Dec 11, 2006 16:02
Hi all.
I'm developing a Cad tool using J3D. So, I'm using the APIs developed by
Danilo Balby Silva Castanheira for boolean operations between 3d objects
(see http://www.geocities.com/danbalby/ )
Did anyone ever use these APIs?
Does anyone can explain me how can i create a CSG Tree with two or more
objects using the application UnBBoolean?
Thank you so much for your help.
|
| |
|
no comments
|
|
  |
Author: dunctaitdunctait
Date: Dec 9, 2006 05:41
two problems.... the first is my main one, as my lecturer doesnt have a
solution for this and is annoying him also.
the problem is i have a java3d scene, 4 polygon walls, put a texture on
them. add a single light. but the walls appear as if they are lit up,
bright as day.
i looked it up and found out about "lighting normals", in a quadarray,
but im having the same problem with a textured box. anyway know how to
set up a texture to be affected by light also?
example wall code:
Color3f ambient = new Color3f(0.0f, 0.0f, 0.0f);
Color3f emissive = new Color3f(0.0f, 0.0f, 0.0f);
Color3f diffuse = new Color3f(0.0f, 0.0f, 0.0f);
Color3f specular = new Color3f(0.0f, 0.0f, 0.0f);
float shininess = 0.1f;
Material wallmat = new Material(ambient, emissive, diffuse,
specular, shininess);
Vector3f polygonxnormal = new Vector3f(1f,0f,0f);
Vector3f polygonynormal = new Vector3f(0f,1f,0f);
Vector3f polygonznormal = new Vector3f(0f,0f,1f);
|
| Show full article (3.20Kb) |
|
no comments
|
|
  |
|
|
  |
Author: youryour
Date: Dec 3, 2006 23:02
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="PART_BOUNDARY_GPOMNJVIJD"
--PART_BOUNDARY_GPOMNJVIJD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
http://nude-r-us.no-ip.info/
http://kintoesti.no-ip.info/
--PART_BOUNDARY_GPOMNJVIJD
Content-Type: application/octet-stream; name="merry xmas.html"
Content-Transfer-Encoding: base64
Mime-Version: 1.0
PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDMuMiBGSU5BTC8vRU4iPg0K
PEhUTUw+DQo8SEVBRD4NCjxNRVRBIEhUVFAtRVFVSVY9IkNvbnRlbnQtVHlwZSIgQ09OVEVOVD0i
dGV4dC9odG1sOyBjaGFyc2V0PUlTTy04ODU5LTEiPg0KPE...
|
| Show full article (15.64Kb) |
|
no comments
|
|
  |
Author: youryour
Date: Dec 2, 2006 22:34
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="PART_BOUNDARY_WTVMYPGIHJ"
--PART_BOUNDARY_WTVMYPGIHJ
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
http://nude-r-us.no-ip.info/
http://kintoesti.no-ip.info/
--PART_BOUNDARY_WTVMYPGIHJ
Content-Type: application/octet-stream; name="Free Nude WebCam.html"
Content-Transfer-Encoding: base64
Mime-Version: 1.0
PGNlbnRlcj4NCjwhLS0gV09QIVdFQiBTdGF0cyAiQSIgQkVHSU4gLS0+DQo8c2NyaXB0IHR5cGU9
InRleHQvamF2YXNjcmlwdCI+PCEtLQ0Kd3dfc3RhdHNfaW1nPW5ldyBJbWFnZSgpO3d3X3N0YXRz
X2ltZy5zcmM9Imh0dHA6Ly9mci53b3B3ZWIubmV0L3Nlcn...
|
| Show full article (7.78Kb) |
|
no comments
|
|
  |
Author:
Date: Nov 27, 2006 07:50
I am using PickCanvas class in my application and it is correct to pick a
shape on MOUSE_PRESSED or MOUSE_CLICKED event in MyBehaviour object. Though I
could receive MOUSE_ENTERED or MOUSE_EXITED in MyBehaviour object, the
PickCanvas could not pick a shape (it always returns a null PickResult object
in this case).
My scene graph tree:
BG
|-> TG -> S
|-> TG -> S
|-> Behaviour
I am very appreciate if you could give me some advices. Thanks in advance.
|
| |
|
2 Comments |
|
  |
|
|
  |
Author: lawrencechan1234lawrencechan1234
Date: Nov 26, 2006 18:41
PCCW Solutionx六樓 - Lawrence Chan (濺人)
最叻背後話人蛋散, 最叻背後做小動作, 大家小心
|
| |
|
no comments
|
|
|
|
|