Hello,
I’m using jMonkey with eclipse. I try to load my own jpg but it doesn’t work I also don’t know where this textures comes from!?
[java]Texture dirt = assetManager.loadTexture(“Textures/Terrain/splat/dirt.jpg”); [/java]
Can someone please tell me how i can create a terrain with my own pictures? I don’t need any highmap.
I tried to make my own assets-folder but eclipse allways tells me it cant find my pic.
I would advise you to try the jme sdk (netbeans).
Even if you’re a die hard eclipse user, just to get accointed with the tools it offers, that you will very probably need down the road.
Just select eclipse shortcuts in the options so you don’t need to learn new ones.
While netbeans does kinda fail compared to eclipse for:
alt+cursor completely blows in netbeans… it’s borderline criminally bad
no ctrl+e (to search the opened files only) :\
But, it’s also less heavier on the computer and is easier due to being sleeker.
But mostly, it comes with plenty very useful tools for 3D game programming and is ready out of the box. Assets are displayed in the project tree, for example.
Even if you switch back to eclipse at some point, you will still need the sdk for some stuff anyway.
I come from eclipse, but since I selected the eclipse shortcuts, I’ve been a happy monkey, and while I did make the thingy work on eclipse, I stopped using it for game programming because the jme sdk is very nice.
Hey,
I downloaded the SDK and tried to make my programm visible. But all see in the jMonkey window is a black screen with the fps counter. I updated every thing. When I try to run the programm with eclipse its no problem…
Did you install the latest graphics driver from the graphics card manufacturer (not windows update)? Did you try a directional light? The point light is at 0/0/0, if your model sits there too it won’t be lit by that light. Very strange you don’t see the blue box of a default project though.
@weave said:
Hi sppeed, I posted my code before but I will do it again.
I only saw little snippets of the code before… which is 1 billion times different than all of the code.
a) your point light has 0 radius so it won’t light anything.
b) why not just use a DirectionalLight since it’s easier and will be more likely to work the first time?
Edit: actually I guess I’m wrong about the radius… 0 means no attenuation. Anyway, use a directional light to see if that works better. Then you can debug why point light isn’t working.