Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - hamedf_hamedf

#1
Dear Zbych,
i want to write a program like that you do,
a gallery with camera move around it auto and manual.
may i have some code like
1- "non-2^n image assign to board",
2- camera movement
3- or any recommendation about how to make a gallery like yours.

Zbych, i want to give it to my best friend as a gift and is not commercially.
#2
Dear Egon,
ok, i create the path myself, but
where do i use that timers? which event?
#3
 Dear All,
i created a scene like my room in 3dmax and load it.
i want to make an animation that camera is moving around my room and rotate.
but i don't know how to create it, even i don't know is there anything like timer in java.
i read something about keyframe but i do'nt understand it good.

Thanks
#4
Support / Re: how to rotate camera around object???
December 02, 2012, 01:55:13 PM
This site is good, i solved it  :)
http://en.wikipedia.org/wiki/Rotation_matrix
#5
Support / Re: how to rotate camera around object???
December 02, 2012, 08:32:39 AM
my exactly question is:

I have one point with X, Y and Z coordinates. (camera position in World space)
And now I want to rotate it, by specifying the rotation in three constraint:
1-By user-defined degree
2-By user-defined axis of rotation (in world space)
3-Around (relative to) user-defined point
(if you can imagine this rotation is: a point rotate on circle of the cone, the head of the cone is number3 and normal vector of the cone is number2)
#6
Support / Re: how to rotate camera around object???
November 29, 2012, 03:26:24 PM
Dear Egonolsen,

this code rotate camera around itself (cam.rotateAxis) :(
but i want to rotate camera by center of object, like earh(camera) around Sun(object). and camera look at it.
#7
Support / how to rotate camera around object???
November 29, 2012, 02:09:08 PM
Dear All,
i want to rotate camera around object that camera is look at it.
how?

Thanks
#8
i found it,
i set my object position in 0,0,0 in 3dsmax and export obj file and redo back again object position.
;)
#9
Dear All,
i draw a scene in autodesk 3dmax 2012, and export objects to obj file. but when i load it on my app, the origin position of the vertex is like 3dsmax and not zero. how to set the vertex origin to zero, (need minimum vertex pos to zero pos and other translate like it.)
#10
Support / Re: Problem with rotating a box.
November 25, 2012, 11:05:45 PM
That's good
yes, i changed to 512*512 and work well.
:) :) :)
Thanks So Much
#11
Support / Re: Problem with rotating a box.
November 25, 2012, 10:41:25 PM
Excuse me dear,
this is my project in attachment
:-\
is there any problem?
my wood.png file is 1024*512

[attachment deleted by admin]
#12
Support / Re: Problem with rotating a box.
November 25, 2012, 09:55:43 PM
may i have your exmaple code or project that load with my obj file?
#13
Support / Re: Problem with rotating a box.
November 25, 2012, 02:38:22 PM
Hi,
i use blender to create a cylinder with texture. export obj file and mtl file. that is attached.

but when i load it in jPCT-AE it shows the cylinder without texture, i'm consider the last post but answer isn't changed.
do you have any suggestion? can you test my obj file?

Thanks


[attachment deleted by admin]
#14
That's good,
now i want to write a program to load 3DS-Max file. and then i try to run the jPCT library in monodevelop in visual studio again and share my experience with other user in forum. maybe other need them.
;)
#15
Oh my god,
very nice
:) :) :) :) :) :) :) :) ;) ;) ;) ;) ;) ;) ;)
Thanks very very much