Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 22nd June 2005, 09:14 PM   #1
Steven
Junior Member
Advanced member
 
Join Date: Oct 2003
Posts: 27
Default SUPER * PNG-ANIM PROJECT

SUPER * PNG-ANIM PROJECT

Hello,

I have an idea to improve the PNG snapshot found in AC3D tools menu.

The "Save 3D win as PNG" and "Save 3D win as PNG - spin animation"
are very useful however need to be improved in order to extract
the picture we need with more precision regarding (angles and
zoom level). This is necessary when we want to use our 3D models
in 2D game engine or for internet applications.

I don't have enough knowledge to make the "PNG-ANIM" function
plug-in myself. ops: This is why I am proposing the project to you.


Figure 1 - Simulation of how could look the PNG-ANIM function inputs.


If we choose option A - red frame (See picture bottom-right).
We only need to tell AC3D what 'theta' angle and what elevation 'Phi' angle
as well as the range or zoom level 'R' to take a snapshot.
The output picture will be named with the appropriate angles and zoom in this format:

NAME_THETA_PHI_R.PNG

This will allow a better management of all pictures necessary for the
animation intended.

Again option A could be a good start and should be easy to
implement for experienced AC3D plug-in programmers. This first post is
only to introduce my idea of a super PNG-ANIM function and I will give
more precision as you post questions. Suggestions are welcome too!

Your help would be appreciated very much. This plug-in will surely find
many adepts.

Thanks very much

Steven
Steven is offline   Reply With Quote
Old 23rd June 2005, 09:33 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default

Excellent mockup!

Can you program in tcl/tk?

Andy
Andy is offline   Reply With Quote
Old 23rd June 2005, 11:06 AM   #3
Steven
Junior Member
Advanced member
 
Join Date: Oct 2003
Posts: 27
Default

I don't know programming TCL. I looked at some examples and it is much
more complex that what I imagine. Most of all, I am lost in the 3D jargon.
I just don’t know variables name and where to start. I will have to spend a
good part of the summer for doing just that. And I want to develop two
games! I won't be able to make it!

But for someone with experience, it should be fairly easy to do option A.

In option A:

1) First we need status for the 3D object orientation in space. When we
move the object in the 3D view, we don’t know its exact orientation. In the
mockup I suggest the angles ‘Theta’ and ‘Phi’. We need also the
zoom/range level ‘R’ to be coherent. The next info we need is the size of
the 3D view in pixels. In summary a status bar containing:

Angle Theta, Angle Phi, zoom/range R and 3D view size.

2) A button to take the picture (small icon with a camera on it)

3) The info bar (option A) should be a floating one. In the mockup it is
located on the 3D view upper frame. This can cause problems when you
want to produce small size images. It would be impossible to fit all the info
since the bar would shrink with the 3D view.

4) The output files could be name Picture_Theta_Phi_R.png for example
picture_30_15_103.png if you have oriented your object at Theta=30,
Phi=15 and range/zoom R=103. For the option A, all output files would
have the generic name ‘picture’. This could be improved in option B where
the user would input its own name instead of picture.

5) As an option, the info bar could act as double duty: status and input.
If you know exactly what angles you want, you just input them.

This first version (option A) should be easy to do for someone with
experience. The PNG ANIM function could be improved later to come up
with the final version that I call option B.

Do you think it would be difficult to code base on your experience Andy?
(I imagine that you are currently very busy, this is why I don't insist for your
help.)

But I am sure someone with enough experience can do it.
How much time should it take for someone with experience for coding
option A?

Thanks very much

Steven
Steven is offline   Reply With Quote
Old 8th August 2005, 03:49 PM   #4
Steven
Junior Member
Advanced member
 
Join Date: Oct 2003
Posts: 27
Default HELP

Anyone could help me with the SUPER PNG function for AC3D? :cry:

Tanks
Steven is offline   Reply With Quote
Old 1st November 2005, 06:18 PM   #5
Steven
Junior Member
Advanced member
 
Join Date: Oct 2003
Posts: 27
Default Re: SUPER * PNG-ANIM PROJECT

SUPER * PNG-ANIM PROJECT

Hello,

I have an idea to improve the PNG snapshot found in AC3D tools menu.

The "Save 3D win as PNG" and "Save 3D win as PNG - spin animation"
are very useful however need to be improved in order to extract
the picture we need with more precision regarding (angles and
zoom level). This is necessary when we want to use our 3D models
in 2D game engine or for internet applications.

I don't have enough knowledge to make the "PNG-ANIM" function
plug-in myself. ops: This is why I am proposing the project to you.


Figure 1 - Simulation of how could look the PNG-ANIM function inputs.


If we choose option A - red frame (See picture bottom-right... scroll the window since the picture is 1024x768).
We only need to tell AC3D what 'theta' angle and what elevation 'Phi' angle
as well as the range or zoom level 'R' to take a snapshot.
The output picture will be named with the appropriate angles and zoom in this format:

NAME_THETA_PHI_R.PNG

This will allow a better management of all pictures necessary for the
animation intended.

Again option A could be a good start and should be easy to
implement for experienced AC3D plug-in programmers. This first post is
only to introduce my idea of a super PNG-ANIM function and I will give
more precision as you post questions. Suggestions are welcome too!

Your help would be appreciated very much. This plug-in will surely find
many adepts.

Thanks very much

Steven
Steven is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 08:00 AM.


AC3D Forum
(C) Inivis Limited 2020