GLBasic forum

Main forum => GLBasic - en => Topic started by: Richard Rae on 2007-Dec-12

Title: faces on object
Post by: Richard Rae on 2007-Dec-12
I have a ball model in my game.When I made it in the model prog it appeared fairly smooth.When I show it in GL Basic it appears faceted(it appears to be made up of a lot of flat faces).Is there any way of smoothing the object other than using a shader?
Title: faces on object
Post by: Kitty Hello on 2007-Dec-12
More information, please. What program did you model in, what export function was used, what lighting model did you use in GLBasic?
Should be smooth if exported right.
Title: faces on object
Post by: Richard Rae on 2007-Dec-12
Used ac3d.Exported using your exporter for ac3d.spotlight used set to 360.
Title: faces on object
Post by: Kitty Hello on 2007-Dec-12
ok. Select the model, then left hand pane click on "smooth" button before exporting. AC3D is perfect for export.
Title: faces on object
Post by: Richard Rae on 2007-Dec-13
Hi Gernot .Thanks for the quick response.I tried what you said,still don't think it's right.You can download an example of what I mean here //www.rrae.pwp.blueyonder.co.uk/smoothing.zip  is there any way to make the ball smoother?
Title: faces on object
Post by: Kitty Hello on 2007-Dec-13
What's mlt and obj files? Where's the AC3D file?
Title: faces on object
Post by: Richard Rae on 2007-Dec-13
The .obj file is the file exported from ac3d to lithunwrap in order to uv map the sphere.I imported back into ac3d and textured.Exported as .ddd file from ac3d
Title: faces on object
Post by: Kitty Hello on 2007-Dec-13
nah. There is an AC3D plugin in your GLBasic/plugins folder.
Title: faces on object
Post by: Richard Rae on 2007-Dec-13
sorry for being dumb but how do I use this plug in?
Title: faces on object
Post by: Kitty Hello on 2007-Dec-14
there is a ddd_export.p file. Simply copy it to AC3D\plugins\ folder.
Then restart AC3D. The console should print a friendly:
GLBasic .ddd/.ddw Export Plugin - Version 2.0 - by Gernot Frisch

Then select your object (or nothing for whole model) and select "File/Export/GLBasic .ddd/.ddw"
Title: faces on object
Post by: Richard Rae on 2007-Dec-14
Thanks Gernot.Works perfect now.
Title: faces on object
Post by: Kitty Hello on 2007-Dec-15
\o/