GLBasic forum

Main forum => Tutorials => Topic started by: Kitty Hello on 2007-Mar-28

Title: 3D with GLBasic - movie
Post by: Kitty Hello on 2007-Mar-28
It's a short movie about how to make somehting in 3D with GLBasic:
http://www.glbasic.com/files/3d_tutorial.wmv
Title: Re: 3D with GLBasic - movie
Post by: MEGAMANFAN on 2010-Nov-09
i cant download it shows a message

"PControls denies access to "http://www.glbasic.com/files/3d_tutorial.wmv"turn off PControls "

can you please send it as an attatcment??? :nw: :nw: :nw: :nw: :zzz: :zzz:
Title: Re: 3D with GLBasic - movie
Post by: Kitty Hello on 2010-Nov-09
Turn off PControls. Ask your dad, if he lets you view that video.
Title: Re: 3D with GLBasic - movie
Post by: Ian Price on 2010-Nov-11
Quote from: dave88 on 2010-Nov-11
I have some problems with the downloading and opening the fail. Can you please, help?

Dave,

Downloading and opening what, exactly? The movie? Have you right-clicked and used "Save As/Save Link As"? What are the error messages?
Title: Re: 3D with GLBasic - movie
Post by: S.O.P.M. on 2010-Nov-13
For me the movie plays directly in the web browser ;)
Title: Re: 3D with GLBasic - movie
Post by: erico on 2010-Nov-13
right click+save and played on smp player, works fine.
Who's voice is that? is that kitty?
Title: Re: 3D with GLBasic - movie
Post by: erico on 2010-Dec-06
I guess your movie player does not have codecs for that, works fine here.
Try VLC or SMPLAYER as both whould come with all video audio codecs you may need.
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-05
Kitty Hello,

I downloaded the AC3D 6.8.14 and installed, then I copied the "ddd_export.p" from GLBasic\plugin in to the AC3D\plugin directory.
Next I did your tutorial above "3D with GLBasic".
Compile and it worked fine.

I noticed that the texture of the 3D snow man on AC3D has a better resolution than the one displayed by GLBasic. (The same result I can see in you video)

How can I improve the resolution or get close the the AC3D resolution?
Is these because I am using a trial version?
Title: Re: 3D with GLBasic - movie
Post by: Kitty Hello on 2011-Oct-05
I don't understand?
Maybe you want to try X_MIPMAPPING TRUE at the start of your code.
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-05
HI aroldo if you want show better the textures in 3D geometry, basically you have to make this image more bigger, and GlBasic runs better whit ^2 images (this it´s only square images).

Warning!!! when I tell the image more bigger, I don´t say, take the Photoshop or another shot and scaling, no!!!... in example if you render a texture or render an image for use like a texture in your 3D object, this have to be in example 1024x1024 or 2056x2056, not Scaling!!!.

Basically making the (image), texture more greater the image in the x_Objects looks better, well you can use... I think it´s called X_MipMap, but I never used.

PS: Take a look a 3d exporter plugin of Vladimir for 3Ds MAX, it´s absolutly wondefull, ever if you use 3d max.
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-05
Kitty Hello and mentalthink thanks for the answers.

To explain better, there are 2 issues:

1 - Wire cage

The Subdivisions used in the AC3D is set to 3, the highest subdivision for smoothness (see picture snowmanAC3D.png)
But in the GLBasic (see snowmanGLBasic.png) it displays less subdivision, it looks more squared than rounded.

2 - Texture

The texture in the picture snowman.png is from the AC3D "camera 3D view" window, it looks good and that's what I would like to see in GLBasic.

The bottom line is have GLBasic reproduce the same quality as in AC3D.

In the mean time I will experiment creating a higher resolution and use X_MIPMAPPING TRUE.

I still have to learn more the GLBasic 3D functions.

[attachment deleted by admin]
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-05
The texture resolution seems to be the same to me on both examples.

the amount of subdivision you have on your first model is way too much.
Usually, a model made of quad poligons is able to subdivide forever inside a 3d program.

Such thing is still a bit useless inside a game. I have never seem a game carrying subdividable models where when closer it shows more, maybe too much for nowadays tech.

What you want is to ´freeze´the mesh inside ac3d so it generates the final poligons you may want. having subs at 3 will probably be too much depending on final platform and your reasons(it may be enough if it´s for a title screen on a big monitor for desktops).

The current object you are getting inside glbasic is your base mesh without any subdivision applied, they usually look blocky like that.
If you are going for anything portable as a target platform, subdivision 1 may be enough.

you will have to check on ac3d how you freeze that model on the required subdivision level an them you export it.

As for resolution, like I said before, the texure looks the same res for me.
How did you create that texture? photoshop? inside ac3d?
you said something about camera map, is your map an UVmap?

ps:. if simple textures is what your are going for, you may as well model nose/mouth/eyes.
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-05
erico,

Thanks for your reply, before we continue I am no expert in AC3D, am learning.

I created the texture inside MS Paint, like Kitty Hello did in his video.
I am assuming it is a UVMap, because in the tutorial we adjust the settings inside the UVMap window.

I also did textures in Inkscape with dpi's ranging from 90, 300 and 600, the results was the same, the texture looks ok but the edges are rough.

I did multiply the size of the snowman by 10, but did not work either, same result.

By the way what is the diference between GLBasic .ddd and .ddw export formats?
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-05
aroldo your mesh it´s very heavy, have lot a of polygons.

The better way for make a smooth model, it´s, in ACD3d I don´t know how works, but I supposse it have an option to say the angle of the polygon have to be smmothed, only for looking, not polygonal mode.
In 3D max it´s called Smooth, how I tell this make an fake effect like smooth the geometry, but this it´n not true.

About texturing the better way it´s make a Unwrap texture, I don´t know if AC3D can be do, but this it´s like cut the geometry by seams, and you have a plane texture, after paint, whit Paint, or Phothoshop or another good free soft.

A very usefull trick, it´s know the ratio between your preferred 3D soft, and the 3D camera in Glbasic, in example in 3D MAX it´s better works in the size of mm, because after in Glbasic, you forget to implement Scaling and coomands waht not ever are necessary.

Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-06
Hi Aroldo,

1- textures inside mspaint? it is as good as any other package.
When you create the texture, make sure you create the image on your requires final resolution.
1024x1024 is what is standard today and should go on any mobile platform.
Be aware multiple objects with various textures each 1024x1024 com quickly overload your final machine target, and most of the time you don´t really need it this high.

2-Yep it´s UVmap.

3-Inkspace is a vector program, resolution independent if you use vectors only. So dpi won´t make a difference unless you are printing. Anyway vectors won´t become textures(bitmaps). You have to rasterize them, or export them on a raster format, PNG is good. Don´t bother dpi while exporting, see that the resolution 1024x1024 is there and everything would go fine.

4- don´t know much about the formats...
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-06
As for the general learning of 3d, and hope this helps many...

check image EDITS.jpg

1- a bunch of quad poligons, base object.
2- when I run subpatch(metaform) into it, it becomes a curved object. Curved objects are not tolerated inside games yet. So if you save and use this, you get the same object as in picture 1.
3- if you subdivide with metaform the object in picture 1, you get this object.
4- another subdivision
5- another subdivision

Picture 5 renders exactly the same as picture 2 inside a render program.
In my case, metaform subdivides by 3 all objects internally.

For GLBasic, you have to make sure the subdivision is applied to the object before saving.
Most 3d programs use different names for these process, I use lightwave, but I hear in MAYA the metaform is called smooth and so on...

6- this is the object from picture 3, I tripled the polygons because some programs won´t accept quad polygons.
I modeled the nose, eyes, mouth and buttons. All triple polygons too.
Then generated the UVmap as an ATLAS projection, you see the results on the left panel. Quite good to read, but could be a lot better.
I then exported this left panel UV as an image of 1024x1024 to work as a guide/layout to paint my texture.
On LAYOUT UV.jpg you have them both, the layout and the texture I painted to fill it.

I´m attaching the whole thing on this post so you and others interested on 3d inside GLBasic can have a go.
I took ages for me to figure out how to convert an object from lightwave to at least OBJ with working UVmaps... :(
There is some info here too:
http://www.glbasic.com/forum/index.php?topic=6861.msg56582#msg56582

inside the zip you see an object folder, it contains the lightwave one, OBJ +MTL and a collada one plus the texture to use on them.


[attachment deleted by admin]
Title: Re: 3D with GLBasic - movie
Post by: Kitty Hello on 2011-Oct-06
If you want the subdivision in the .ddd model, just apply it to the model before exporting:
Menü: Object/Commit Subdivision
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-08
erico,

Thank you for the detailed answer.
I am reviewing you answers and trying to understand how you did it?
I it not clear to me how to do the LAYOUT UV.jpg?

I also want to make sure that AC3D is the right tool for making the 3D models!

Can you generate the .ddd file and attahce to the post?
I will be using the code below so I can see the end result in GLBasic.

// --------------------------------- //
// Project: SnowMan3D
// Start: Tuesday, October 04, 2011
// IDE Version: 10.118


// SETCURRENTDIR("Media") // go to media files
   X_MIPMAPPING TRUE
   GLOBAL phi=0, mx, my, b1, b2
   LOADSPRITE "images/snowman256_90dpi.PNG", 0
   X_LOADOBJ "images/snowman.ddd", 0
   
   WHILE TRUE
      //INC phi, MOUSEAXIS (0)
      //INC pha, MOUSEAXIS (1)
      //MOUSESTATE mx, my, b1, b2
      INC phi, MOUSEAXIS (0)
      X_MAKE3D 1, 50, 45
      X_CAMERA 10,5,0, 0,0,0
      X_SETTEXTURE 0, -1
      
      X_ROTATION phi, 0,1,0
      X_DRAWOBJ 0,0
      SHOWSCREEN
   WEND


Code (glbasic) Select


Thank you, :nw:
Hi Aroldo,

1- textures inside mspaint? it is as good as any other package.
When you create the texture, make sure you create the image on your requires final resolution.
1024x1024 is what is standard today and should go on any mobile platform.
Be aware multiple objects with various textures each 1024x1024 com quickly overload your final machine target, and most of the time you don´t really need it this high.

2-Yep it´s UVmap.

3-Inkspace is a vector program, resolution independent if you use vectors only. So dpi won´t make a difference unless you are printing. Anyway vectors won´t become textures(bitmaps). You have to rasterize them, or export them on a raster format, PNG is good. Don´t bother dpi while exporting, see that the resolution 1024x1024 is there and everything would go fine.

4- don´t know much about the formats...

Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-08
ops :S I forgot to mention I use lightwave 3d.

But in fact, almost any 3d modeler out there will do.
It´s important that your 3d program export/save to a format that can be converted to 3d GLBasic format(DDD).
I think GlBasic comes with a tool to convert .OBJ to .DDD object.
I see in one thread that someone did a MAX to DDD tool too.

AC3D seems to be the choice of most of the people around here, and it seems quite a competent tool.
I think what you were doing in the first place is correct, but you have to apply the subdivisions like KittlyHello said:

Quote from: Kitty Hello on 2011-Oct-06
If you want the subdivision in the .ddd model, just apply it to the model before exporting:
Menü: Object/Commit Subdivision

The LAYOUT UV.jpg was done like this (in lightwave):
-export eps of the UVmap window
-open in photoshop and rasterize it on your final size, in this case 1024x1024.
-create another layer to draw under the uvmap, that is going to be the final texture.

You save only the final texture, but for the layout there, I saved both together so it serves as an example.

About the .ddd, I will give a try later, but I think you have a convert tool there inside GLBasic to do it too.
It converts from OBJ, which is inside the folder.
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-08
Another 3D suite, very affordable and very good it´s Blender, Free and a lot fo info, and now whit the last version the IDE comes too much familiar to the common 3D suites, before, was a little confusing, too much different to the standard.

Blender have a plugin exportere especific for Glbasic. Make time I don´t use, the last time, make somthing wrong when you have a object whit sub-objects or when you scaling the 3d mesh, but export in the most cases very well, and wel  you have a "paint Editor", like a simple PS but panit over   the surface of 3D mesh, well for me it´s better BodyPaint.

>If you starting in 3D, blender and well almost  common software it´s very cool, lightwave it´s simply awesome, I like a lot of, but I dont´have time to learn it. It´s called the most faster modeller in the 3D world.
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-08
Yep, blender is great, if I was to learn 3d from zero today, I would go for blender for sure.
AC3D seems to me a lot easier though...blender is as hard as any pro 3d package around.

It all ends up on how much time can you afford to acquire this knowledge.

There is a CONVERT3D.exe on the glbasic tools folder.

Strangely, I could not make it work(ie display the object in 3d inside glbasic).
Watching the video again, it is probably something related to the size of the object or something else.
Maybe someone can say what´s wrong with it?

I enjoy the part of the video when first compiling the test program..."there it iiiiiiis" hehe :P

PS: here goes the snowman in .DDD and in .blend use the texture.png from my last post.

[attachment deleted by admin]
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-09
erico,

I loaded the .ddd file and texture file you gave me.
The snowman, did not load upside down, and for some reason the texture did not get loaded, not a problem
Here is the result of loading the .ddd, the same as AC3D, rough edges!

[attachment deleted by admin]
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-09
Sorry I never really got myself into 3d production inside glbasic. I´m attempting to help on an area I known only half of it and am also trying to learn the other half.

Load upside down? It seems every 3d conversion has a lot of changes as each package outputs differently.
My object came from Lightwave 3d v10, exported as .OBJ into Blender and there I had to fix the UVmap image, then save as .OBJ again and also .blend. The collada file came from lightwave too.

I reloaded it inside lightwave , texture has a missing path. Reloading the texture gets it ok, so I know, at least, that the uvmap thing is working now.

As for your results, would you mind pasting the code? I tried yours and them kitty´s video one but only got black screen :(.

It is great to see that the object worked ok for you, now it would be nice to see if it preserved the UVmap thing.
About the rough edges, sorry, I forgot that was your first concern...

As you see on your results, it has the same number of polygons you see on the layout uv file I sent before, so the result you get is expected.

I guess the best course is to do as kitty said,
get your object from the first post inside AC3d and choose your subdivision level (3).
then:
Menü: Object/Commit Subdivision

give a go.
it should go fine.

I get a little carried away when 3d comes up as a subject... (that´s the only subject I can try and help :()
It´s important to have only the amount of polygons on an object that fits your final project, so that also concerns resolution and final platform.

I guess I see you only want to give the video´s code a try and expect to have smooth edges (is it?)
Again, commit your desired subdivisions on your AC3D model like kitty said and post results

Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-09
 Hi Erico, you are Italian?¿, if not sorry, but in your lneguaje you have this youtube channel, in italian... it´s very complete training of Blender, and the guy explains very well, of course I don´t have too much idea of Italian bit it´s very easy undertanding.

About 3D in blender, the trouble because you can´t look your object, I supposse it´s for the position and far clip of the camera, when I try blender and 3d Max, I always put this values in the camera, differs a lot of A3CD

X_Make3d 1,1000,45
x_Camera 0,-500 or more,0 , 0,0,0

And always have in mind to make the 3d mesh in the 0,0,0 world coordinates.

About the exporter in blender, I rebember some little bugs, in example if you take more than an object, don´t runs well, and if you scale the object goes bad too.

You tube channel (Blender, I think for english speakers can be more complex than spaninsh.)

http://www.youtube.com/user/redbaron85ct

Kinds regards,
Iván J.
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-10
Hi mental, I´m not italian hehe, brazilian or terrestrian is more like it!
No, those tutorials are not mine.

Thanks for the helps.

I ended up making it work (there it iiiiiis :D), but only to arrise more questions...
here is the code I am using:
Code (glbasic) Select
GLOBAL dir$
GLOBAL phi
GLOBAL thi
GLOBAL x,y,z

LOADSPRITE "TEXTURE.png",0
X_LOADOBJ "SNOWMAN2.ddd",0

WHILE TRUE
INC phi, MOUSEAXIS(0)
INC thi, MOUSEAXIS(1)

IF KEY(203)=1 THEN x=x-1
IF KEY(205)=1 THEN x=x+1

IF KEY(200)=1 THEN y=y+1
IF KEY(208)=1 THEN y=y-1

IF KEY(44)=1 THEN z=z+1
IF KEY(30)=1 THEN z=z-1

PRINT x,0,0
PRINT y,0,10
PRINT z,0,20

X_MAKE3D 1,50,45
X_CAMERA 0,0,10, 0,2,0
X_SETTEXTURE 0,-1

X_SPOT_LT 0,RGB(255,255,255), x,y,z, 0,2,0,360

X_ROTATION phi,0,1,0
X_ROTATION thi,1,0,0

X_DRAWOBJ 0,0

SHOWSCREEN

WEND


So, rotate the object with the mouse, move the light with key arrows for the X and Y. Move light on the Z with keys A and Z.
Some doubts:

1- rotation is affecting the light source too, how can I separate them? It seems ok if I use the cartoon light though...
2- There seems to be an ambient light there, even if the light is not over the object, it renders gray instead of black.

Hey Aroldo, I ended up subdividing my first object twice, so now, there is no hard egdes.
I´m attaching it here too so anyone can givago!


[attachment deleted by admin]
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-10
Quote1- rotation is affecting the light source too, how can I separate them? It seems ok if I use the cartoon light though...
2- There seems to be an ambient light there, even if the light is not over the object, it renders gray instead of black.

HI Erico , about the rotation of the light I look your code, but I think the trouble not it´s the X_Rotate affect the light, it´s this part.

X_SPOT_LT 0,RGB(255,255,255), x,y,z, 0,2,0,360

When you move the ligth, whit x,y,z the fixed Point, it´s in 0,2,0, and always the ligth it´s lokking to this point. I think but I´m not sure the litgh can´t rotate, only 3d meshes

2_ About the light I always use whit 360 Degrees, in this mode I have a Spot light like a Sun.

Be carefull using light, they consume a lot of CPU processing, for me the better way it´s make a render texture in your preferred Soft, in this you apply the lighting how you want, and after in GlBasic, you have the model like in the 3D Suite.

In deviced mobiles the FPS go very down if you use more than 1 ligth, and I prefer, if not it´s essetial don´t use lights.
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-10
Quote from: mentalthink on 2011-Oct-10

X_SPOT_LT 0,RGB(255,255,255), x,y,z, 0,2,0,360
1_When you move the ligth, whit x,y,z the fixed Point, it´s in 0,2,0, and always the ligth it´s lokking to this point. I think but I´m not sure the litgh can´t rotate, only 3d meshes

2_ About the light I always use whit 360 Degrees, in this mode I have a Spot light like a Sun.


Do you think the problem is the x_spot command?
I intend the light to target a little above the object 0,2,0, but would like to move the light around with x,y,z.
I was wondering if it has anything to do with the X_make3d and my field of vision is too small and affecting the light source.
I will give a try later to see if I can find a solution.

As for the light as a 360 degree, I guess it works as a point light this way right? does the target 0,2,0 still counts?

I´m not worried about poly/light counts or mobile yet, I just would like to see the 3d inside glbasic behaviour on my desktop.
I expect it to be similar to the open gl view you get inside 3d softwares.

Thanks for the help and hints!
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-11
Oi Erico, tudo bem?

Sorry for the delay in replying, I am traveling on business and only today I had a chance to check my messages.
I wish we could start a Portuguese forum for the Brazilian community! :good:

Your final result looks nice, much better.

I said it right, I am learning 3D and how to use the tools like AC3D and I will try Blender before I make a decision.

Obrigado pela força!
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-11
tudo joia,

I´m not sure a portuguese forum would do good, there would probably be the only 2 of us in there :P
Besides, I believe we do best in english, that way the whole forum can read it and help out.

If there is something specific you think writing in portuguese would help clarify, then also go ahead.
Most of the interested-on-the-topic people will google translate it, I do it a lot on the german side of the forum.

Blender is great and there is a lot of help+tutorial all around...mental posted a few italian excellent ones.
If portuguese is more confortable, you can get some here too:
http://www.blender.com.br/

I´d personally recommend you follow the official site though.
But that maybe is just me, I´m unable to use computers or software in any other language then english.
3d will have a lot of specific jargons and it´s best you learn them on the original form.
Translations tend to make this even more confusing...

Things I like best in blender(other then free and powerfull):
-great fluid simulation
-bullet phisics (maybe bullet could be wrapped inside glbasic??)

falou!
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-11
Erico,

Tudo joia sim.

I have no problem with english at all, I was just kiding you.
Fortunately I speak Italian and Spanish.

I need to compare the features of AC3D and Blender.
Particle systems for explosion, smoke and fire are what I am looking for 2D and 3D games.

Thank you for your help and we will be in touch.

PS: Tonight there is Brasil x Mexico, I am in Mexico city and I wan to go to a place to what the game!!!

Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-11
HI erico, about the ligth, you have in mind this:

If you have the target in the 0,0,0 the ligth always lock to this point, if you want make circles over and object you have to use cos and sin, in x and z or x and y, depends how export your software to GLbasic, in 3d Max not it´s equal than AC3D or Blender, anyone have her how world coordinates system, or mode to make it internally.

Yes if you put the lights degree cone to 360, you have a spot light, in principle affects all the scene, because light "simple" don´t have range and don´t have intensity too.

ok, if you want develop only for PC, use a library made by Gernnot, it´s in some part of 3d thread, have a lot of more commands, and it´s very complete, but in mobile devices I think don´t works well, I don´t try.

If you permet I have a little trick, so Glbasic 3D in devices mobiles don´t have too much coomands, I try the make ready the model always in the editor, always I export a backed texture, whit lights, normal maps, and of course we don´t have a parameter for shinnes specular  :'(, but I tri to make things in 3D, and the quality it´s good, but we have to put more effort in the 3D suite.

Warning, if you make a backing texture, if I don´t rebenmer bad, you use LW, be careful whit the channel map of the texture, in Max in example, I have to put the channel inverse, when it´s 3 in material, in backed it´s 1.

Another point, and this it´s only for advice, for me the best tool for texturing, in low poly I think it´s a most important part, I use Bodypaint,this it´s a module of Cinema 4D, like photoshop but you paint over the model, or un the unwrapped mesh, and another Sculping tool very very good, and not too much expensive, professional cost about 300$ and  educational cost about 99$, it´s Coat 3D, it´s like Zbrush, but too much simple, and make thing awesome, and well it´s another genius like Gernnot, 3D coat it´s male by only one Ukranian men, well mother Russia always was the better in Maths...  :nw: :nw:

PS: I think we can use this thread for sharin impresions about 3D in Glbasic, not too much people use 3D, and can sharing tips and tricks, waht do you think?.

Iván J.

Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-12
Erico,

Thanks again, I tested with you texture and ddd fiels and it worked very well.

I need to study more.
Title: Re: 3D with GLBasic - movie
Post by: MrTAToad on 2011-Oct-12
It takes a little while to get the hang of 3D, but the results are very nice.

I'm re-imaging my "BallZ" game and its now almost all in 3D.  The hardest part will be deciding on the lighting...



[attachment deleted by admin]
Title: Re: 3D with GLBasic - movie
Post by: erico on 2011-Oct-12
heck, I can almost see speedball players running around that screenshot of yours... :O
Excellent work Tatoad!
Title: Re: 3D with GLBasic - movie
Post by: MrTAToad on 2011-Oct-12
Thanks :)
Title: Re: 3D with GLBasic - movie
Post by: aroldo on 2011-Oct-13
MrTAToad,

Which 3D tools are you using? AC3D, Blender?
Title: Re: 3D with GLBasic - movie
Post by: MrTAToad on 2011-Oct-13
AC3D
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-15
Very nice MrTatoad, a question, it´s very difficult, implement the specular shines for 3D Geomtries?¿, I think this it´s a important factor, but I don´t know if need too much CPU in devices mobiles.

About the manner of lighting, the better way it´s a Lightmap or in default a Complete Map.

A personal suggestion, if the game it´s all in 3D, becuase don´t put a little more donw the camera, I think can be more nice than view it from the top, it´s only a personal opinion.
Title: Re: 3D with GLBasic - movie
Post by: MrTAToad on 2011-Oct-15
You can modify the specular lights if you call the OpenGL functions, but they may not be available on handhelds.

This post has a bit about such things : http://www.glbasic.com/forum/index.php?topic=3849.0

Could also write a shader of course...

I could do a light map, but then would have no real control over lighting, so I do it myself.

Its not in a first-person perspective as you need to be able to see everything, which would be tricky without a top-down camera
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-15
Hi Mrtatoad, ok, yes I try sometime ago to make someshaders, whit Eclipse and Manila plugin, but was impossible, and I don´t know how try in the same computer how make runs an emulator  :'( :'(

About the perspective, I think I expressed bad, I don´t mean think a first person, but turning some degrees the camera angle respect to the camera target, for looking like in perspective mode or Isometric mode.

Other part, about the lightmap, I try the Ac3d the last week, and well it´s a very easy Soft 3D and goes well, but make something complex don´t it´s too much powerfull, if you don´t intro in the huge softwares like softimage, cinema , max, maya, LW , etc and you want make a litghmap very easy and quickly use this:

I don´t know if in this moment it´s free, but I use years ago whit the Dbasic:

http://www.frecle.net/index.php?show=giles.download

I suppose in Glbasic will be easy implement, but I don´t try yet, I like too much, because it´s very quick and very easy, and the radiosity calculus it´s very precise, but somtimes crash...

PS: I always make a recomendation about a modeler, for me too much better than the huge, this it´s Silo, it´s very cheaper and it´s the most quick and powerfull modeler, and very very easy... 3D not it´s like programming, only meeting 3 o 4 tools, you can make awesome things, don´t feel fear about take a look for an 3ds max, maya or something professional.

Title: Re: 3D with GLBasic - movie
Post by: MrTAToad on 2011-Oct-15
An isometric view could be interesting - might have to think about that.

I chose AC3D mainly because of the DDD exporter - but I'm finding it very unstable.  It does looks as long it's not totally Windows 7 x64 compatible...
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2011-Oct-15
ok, 3ds Max have a very good exporter make by Vladimir... if you decide take a look, I don´t have any trouble to give you a hand, how I say 3ds max have a thousand of buttons, but you only have to know 4 o 5 things to make things...

PS: If have people interested in 3D in GlBasic, I don´t have too much problem in explain in some videotutorials how make somthing nice whit the soft I use most normally, but my speak english is more bad than write.
I think explain how make somthing like this , or more complex models, the good thing of 3ds max, it´s , this have a module for make walkings and runs for characters, and not it´s too much complex, in blender it´s a buch of works, put every bone and all this things.




[attachment deleted by admin]
Title: Re: 3D with GLBasic - movie
Post by: Ecco on 2012-Apr-14
Quote from: mentalthink on 2011-Oct-15
ok, 3ds Max have a very good exporter make by Vladimir... if you decide take a look, I don´t have any trouble to give you a hand, how I say 3ds max have a thousand of buttons, but you only have to know 4 o 5 things to make things...

PS: If have people interested in 3D in GlBasic, I don´t have too much problem in explain in some videotutorials how make somthing nice whit the soft I use most normally, but my speak english is more bad than write.
I think explain how make somthing like this , or more complex models, the good thing of 3ds max, it´s , this have a module for make walkings and runs for characters, and not it´s too much complex, in blender it´s a buch of works, put every bone and all this things.

..may i know where to download that exporter for 3dsmax, and does it exporting lightmaps done in 3dsmax too??
Title: Re: 3D with GLBasic - movie
Post by: mentalthink on 2012-Apr-14
HI Ecco again  :P

Here you can download... and well I rembember for me this post...  =D

http://scan3d.ru/index.php/productsmenu/gl-basic-tools