General Category > General Anim8or Forum
An8Render
Claude:
Hi
It's been a very long pause, but since a few weeks, I've started working on An8Render lib again.I've worked only on adding figure animation.We're still far away from a release,but I couldn't resist showing progress made.
Now it supports: - diffuse,specular material and specular power
- ambient,diffuse and specular factor
- diffuse texture
- ambient color = diffuse color(mat and tex)
- specular color = diffuse color(tex)
- 1 material / mesh
- 3 types of An8 lights.
- morph animation
- figure animation
It uses liban8 to load .an8 models.
Morph and figure animation rendering is done in real time,not per frame.
Interpolation is calculated exactly like it's shown in the
graph editor.One thing left is to deal with the morph normals.
Most of the data(vertex,tex coord,.......,weights and vertex index) is kept in VBO in the video card memory.A big part of the calculation is done on the video card as you can see in the shader files.
So,here's the test program I wrote for the lib and it
would be nice if a few of you guys would have a look at it.
To try the program,you need a video card supporting
OpenGl 3.3.To check your video card support,start Anim8or
and go to menu About/OpenGl Info.Please note the first 3 lines
if the OpenGl version is equal or higher than 3.3.
Run the program by double clicking the batch file
An8RenderRun. Please let me know if it works or not,
and also post OS and the OpenGl Info.
After the app is closed, a file named "debug" should have been created.If the app doesn't work please post it.
This will allow me to know if the program works well
using different videocard and OS and get debug info.
Thanks for your help.
Claude
P.S.
A few more info:
Click on the ? at the bottom left corner of the window for
help with the rotoslider.
Use the keyboard arrows to rotate the camera around the
object.
You can see the light setup in the An8 file.
The opening window will show the figure animation I would like
you to have a look at.It was made using makehuman and NickE's
BVH2Anim8or.It's a walking woman.Open the Female1_B02_StandToWalkExperience file in Anim8or to compare both animation
rendering.
MODEL 3
Numeric pad keyboard control(right side of the keyboard)
Sequence #1 1 2 3 4 5
Start BindPause Stop Pause Resume
If you want to have a look at the other 2 models,you can change model in the General UI.
The second one is the apollo-soyuz assembly and was added to show texture rendering at the time.
Source of the apollo_soyuz_carbajal 3D model: NASA.
MODEL 2
No key control
The first one is a sphere including 3 morphs to test the rendering code.
Sorry for the model.It will never win in a modeling contest, but for testing it was OK.
MODEL 1
General UI allows to change some parameters like Morph_LoopState and Morph_Duration,plus and operate manually by changing Morph_Time.
General UI:
MorphManualControl: click to allow manual morph adjustment
Morph_Time: change the morph time;use the rotoslider
Morph_LoopState: shows looping state
Morph_FlipLoopState: button to change looping state
Morph_Duration: set morph duration
RegisterMorph_Duration: then activate change;won't register
if morph not stopped
UI allows to change blue material properties on the run.
keyboard control
Morph #1 F1 F2 F3 F4
Morph #2 F5 F6 F7 F8
Morph #3 F9 F10 F11 F12
Start Stop Pause Resume
------------------------------------------------------------------------------------------------------------------------------------https://drive.google.com/file/d/0B84Q_4yIHaGAQUxaMDJ6alJXZjg/view?usp=sharing
------------------------------------------------------------------------------------------------------------------------------------
Raxx:
Works fine for me! Tried the material properties. Morph and skeletal animations were smooth. Rotoslider is an interesting idea, though I wonder if it's overkill for adjusting numerical values.
Win10 Home 64-bit
Geforce GTX 980m, OpenGL 4.5
Claude:
Raxx
Glad to know it works on Nvidia and win10.
The UI was chosen to be able to change parameters on the
run.You're right it's an overkill, but it's fun and it's
only a test program.
The poor woman was a blob for 2 weeks.That's what happens
if you miss 1 1evel of transform.
The only thing you could sometime identify was
the Anim8or logo on the tshirt.
When you get back working on your 3D viewer,I hope
I'll be in a better position to help if needed.
Claude
captaindrewi:
Everything seems to be working ok
slight difference in the animations i feel. within anim8or the walk is slightly less zombie like but this may just a quixotic perception....Is that likely?
also when i press resume (5) the animation tries to resume and then comes to a halt. Starts ok again if i press 1.
Vendor: ati technologies inc
Renderer: amd radeon hd 6520g
version: 4.4.13283 compatibility profile context 14.501.1003.0
win7 build 7601
Claude:
captaindrewi
Happy to see that it works well on ATI card.I'm always
concerned of possible differences between ATI and Nvidia GLSL
compiler.
The program renders in real time.By default,Anim8or renders
per frame as fast as possible.Could you see if you have
View/Preference/Limit playback checked. If not,please check
it and see if you see a difference.
Thanks
Claude
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version