Loadanimimage and Flipmesh commands question

Blitz3D Forums/Blitz3D Beginners Area/Loadanimimage and Flipmesh commands question

seferey(Posted 2006) [#1]
Here's My question


when creating a sphere
with entity alpha and fx
scalemesh etc.

Can LoadAnimImage be used like this

Sky=createsphere(50)


LoadAnimImage("blah,blah,blah,blah")

flip blah,sky


Matty(Posted 2006) [#2]
What are you trying to achieve?

Sky=createsphere(50) will create a sphere with 50 segments.

I don't know what you are trying to achieve with loadanimimage - which is a 2d command.

Furthermore flip takes a single parameter which is either true or false where false indicates you want the screen to update as fast as possible.

flip blah,sky makes no sense.

LoadAnimImage is used to load an 'image strip' usually where the parameters for the command are:

LoadAnimImage (filename,width,height,first,count)

filename = file you wish to load eg somepicture.bmp
width = width of each frame of animation
height=height of each frame of animation
first can be from 0 to count-1 where count is the number of frames to load


see here:
http://www.blitzbasic.com/b3ddocs/command.php?name=LoadAnimImage&ref=2d_cat

Perhaps you should ask for information on what effect you are hoping to achieve?


Damien Sturdy(Posted 2006) [#3]
I have to congratulate you on creating the funniest bit of blitz i've seen :)


Unfortunately, We don't know what you're trying to do- So we can't really help.


Sir Gak(Posted 2006) [#4]
@seferey
If you want to create a 3D shere mesh and animate it, that is, move it around in a predefined pattern, you have to use the Entity Animation series of commands to accomplish it (see the Blitz Help index). As Matty said, LoadAnimImage is 2d, and doesn't apply to a mesh, etc, in the 3D world.

For any further help, you need to specify just what you are trying to do.


seferey(Posted 2006) [#5]
I'm sorry I was reading on blitz3d related topic Someone showed me blitzcoder where you create a .pak file and use in your applications