Anyone use Freeworld3d with Panda?

I’ve been looking at Freeworld3d for terrain creation. I’ve had a little experience modding with CryEngine and liked their terrain editor. Freeworld3d has similar tools as the CryEngine terrain editor and it exports to .X so it should work pretty well. I especially love their texture tools!

Anyone have any experience with it in Panda3d yet?

Steve

I’ll keep you informed…

I just bought it and will begin to use it within the next week.

Right now, Im using geoscape 3D which is making some interesting lands. What I dont get is how to generate faraway textures (ala 512x512 terrain texture) AND do localized higher-rez textures at the same time?

Do you mean how one goes about generating low-quality textures for objects at a distance, but having them become high-quality when you get closer?

If you’re talking about within the Panda engine, that’s a technique called “mipmapping.” Panda3D supports this (I believe) through the mipmap filter options on the Texture class. I’m afraid I’ve never used them before, so I can’t be more helpful. Does anyone know more about Panda3D’s mipmap support?

-Mark

Ok, thanks ta2025,

I’ve looked at GeoScape myself, but like the features of Freeworld3d better.

I guess we shall see how it goes.

Steve

Fixer@ to put it in English, I am generating a terrain that is 512x512 units in physical size and a redering a bitmap that is 512x512 pixels to cover it with.

That works fine for things that are far away, but when you look down at your feet, you want to see a bit more detail on the ground than 1 huge pixel per square meter!

Usually, people use multitexture to solve this sort of problem. Paint a detail texture, for instance 512x512, but design it so that it can repeat, and tile it over the entire surface at a fine resolution. The detail texture would just have some high-resolution noise in it to suggest grains of sand or blades of grass or something.

Use multitexture to layer both of the textures together. The Panda3D manual describes how to do this at runtime.

You can also, of course, set up all the texture layers in your modeling package, but this requires that your modeling package and exporting tool understand multitexture. I don’t think the X file format supports multitexture, so if you are converting via .x files, you can’t go this route.

David

David@

Thanks! – i figured out muti-texturing! thanks for the tip. It looks great!

ok…

I got one texture to tile in hires over my entire terrain and it looks pretty cool.

If I wanted to place a small texture in a specific place (offsets) within a node (since the terrain is a single node), I cant figure out how?

This is a bit more of a challenge. Fundamentally, a texture has to be applied to all of a piece of geometry, or none of it. That’s the reality of real-time graphics rendering. But there are two basic approaches to creating the appearance of a texture on just a portion of your geometry:

(1) Apply the texture over all of the geometry, but do it in such a way so that it is only visible over the part where you want it, and completely transparent everywhere else. One way to do this is by using tex.setWrapU/V(Texture.WMBorderColor), for instance, so that the texture isn’t visible beyond its 0…1 UV range, and then using the appropriate nodePath.setTexScale()/setTexOffset() to make the texture the size you want, and slide it around to the place you want.

(2) Cut out the piece of geometry that you want to have this small texture, and make it a separate Geom (or GeomNode, for convenience). Then apply your texture just to that Geom or GeomNode.

The downside of (1) is that you can only layer so many textures on a given piece of geometry, so if you want to have one little texture here, and another little texture there, and a third little texture over there, you’ve just used up three of your available texture stages.

The downside of (2) is that overly subdividing your geometry can result in impaired frame rate. It may also be more complicated to do this.

In practice, many games opt for a combination of (1) and (2). You might cut the terrain into fairly large grid squares, for instance, and then apply the texture just to the appropriate grid square(s), in such a way that it is transparent where it is not wanted. Then you can apply as many different texture pieces as you like, as long as you apply them all to different grid squares (or no more than some pre-defined n on the same grid square).

David

sm3, let us know if Freeworld3D worked fine for you. Looks nice, even though it doesn’t support .blend files.

By the way, another good tool is the ANT plugin for Blender3D, but I have yet to try exporting a landscape created in it to Panda3D.

Finally, Bryce 5.0 is available for free until September 13th. It’ a pretty powerful tool, in my opinion.

Hi Harry, I just received my license today for Freeworld3d so I’ll let you know how it goes after I use it, unless ta2025 wants to post first about it.

I did download Bryce 5.0 while It’s free :slight_smile: I couldn’t resist. I’ll probably not use it for anything though.

I’m using Maya for stuff like characters, items, etc… I did try it for a while with terrains, however, I like the features of Freeworld3d better for terrain.

I tried Blender, it is very good, however, I already have Maya so I’m sticking with that. I really try to limit the amount of new software I have to learn. :wink:

Steve

Hi
if you are using a height map terrain implementation for panda3d,you can export the world as ogre’s dotscene format and you can parse it easly because it is a plain XML.

Hello,

Well, I was just going to export the terrain as an .X file and convert it to egg or bam with the x2egg converter.

My problem is just getting the time to figure out how to use the program :slight_smile:

Steve