GMOgre isn't supported in GM8.1 (I get an address access violation in 8.1).
You have to use GM8.0.
Thats all!!!
Thanks you very much for never giving up to Help me.
Now i have to make some Games!!!!!!
Posted 17 February 2012 - 07:43 PM
GMOgre isn't supported in GM8.1 (I get an address access violation in 8.1).
You have to use GM8.0.
Posted 18 February 2012 - 10:12 AM
Posted 19 February 2012 - 03:41 PM
Posted 20 February 2012 - 11:11 AM
Posted 21 February 2012 - 12:38 PM
Posted 21 February 2012 - 06:24 PM
material skybox
{
technique
{
pass
{
lighting off
depth_write off
texture_unit
{
cubic_texture skybox.jpg
}
}
}
}and enable it with this:EnableSkyBox(true,"skybox",5000,true)
Posted 21 February 2012 - 10:26 PM
Posted 22 February 2012 - 07:51 AM
1) What are the errors?How does the enable_skybox work? I constantly get unexpected errors when trying to use it. I added this material:
material skybox { technique { pass { lighting off depth_write off texture_unit { cubic_texture skybox.jpg } } } }and enable it with this:EnableSkyBox(true,"skybox",5000,true)
But it doesn't work
material Examples/SpaceSkyBox
{
technique
{
pass
{
lighting off
depth_write off
texture_unit
{
cubic_texture stevecube.jpg separateUV
tex_address_mode clamp
}
}
}
}You say all of that, but GM isn't even intended as a 3D engine. So, GM9 shouldn't dive into 3D, until it absolutely HAS to.I'll say it again despite the countless times I've been PMed about it. OGRE is NOT a good 3D solution, the engine is just too rigid especially for game maker and it is not optimized for older machines so again, you would be telling lots of customers to just bugger off.
All these problems you are getting? Are the work of someone who isn't all that good at making proper libraries (GMOgre) and chose a bad engine as a solution, Ultimate3D is and always will be the best solution other than Mike.Daily adding in shader and vertex buffer support (Which I assume will come in GM9 along with custom data structures)
If you all need these advanced features so badly, why not move to C# or C++? Those languages are better suited for this kind of development and you won't get the latency of using a DLL of a DLL(s)
What we should all be doing is telling Mike.Daily what GM9 needs in the 3D department that isn't going to take him months to put together, shaders for instance would be simplistic, an insertion, maybe some greater control over primitives in a model, more dexterity with textures would be great and ability to access the view, projection and world matrices.
Edited by MasterOfKings, 22 February 2012 - 08:02 AM.
Posted 22 February 2012 - 08:03 AM
Unexpected errors, i.e. "Unexpected error occurred when running the game".1) What are the errors?
Yeah2) Is the resource location of the material set (both the material itself, and the texture)?
Yes, they do... :/3) Do the same errors occur with a pre-made sky box material, such as...
Edited by TheSnidr, 22 February 2012 - 08:08 AM.
Posted 22 February 2012 - 08:17 AM
Ohhh.Unexpected errors, i.e. "Unexpected error occurred when running the game".
That's strange.Yes, they do... :/
I'm not so sure. If the example materials fail, then it could be something else.My guess is I'm doing something wrong, but I really can't find what. Is there a skybox example somewhere?
I've also tried making my own skysphere by adding a texture to a sphere with radius 5000, but I don't know how to turn off culling for one entity. Actualy I don't know how to turn off culling at all
cull_hardware none cull_software noneThat disables culling. From my old project...
material wall
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture temp_floor.png
tex_address_mode mirror
filtering none
}
}
}
}Edited by MasterOfKings, 22 February 2012 - 08:49 AM.
Posted 22 February 2012 - 08:48 AM
Thanks a lot! GotAs for culling, under the pass, do...
Doesn't seem like the download worksEDIT: Well, I wrote a .gmk a while back which was the basic tutorial 3 (click here). I remember it working (skybox and all). Put it with the other examples, and run it. If you still get the Unexpected error(s), then it's not you.
Edited by TheSnidr, 22 February 2012 - 09:16 AM.
Posted 22 February 2012 - 08:51 AM
No problem.Thanks a lot! Got the home made sky sphere working now ^^
It does. Although, McAfee Site Advisor just popped up telling me the site is dangerous, so it could be an AV issue.Doesn't seem like the download works
Posted 22 February 2012 - 05:56 PM
Edited by TheSnidr, 22 February 2012 - 07:24 PM.
Posted 23 February 2012 - 08:55 PM
Edited by interpolicer, 23 February 2012 - 08:55 PM.
Posted 23 February 2012 - 09:42 PM
It doesn't work in 8.1. Use 8.0Hm... If I so much as give a command in any example, the app crashes. Even as pressing a button.
GM8.1 compatibility?
globalvar static_trees;
static_trees=CreateStaticGeometry()
entity=CreateEntity("treemesh")
with obj_tree
{
normalize(x,y,z)
_x=xx
_y=yy
_z=zz
orthogonalize(xx,yy,zz,1,1,pi)
euler_create_matrix(_x,_y,_z,xx,yy,zz) //Returns yaw, pitch and roll in radians
AddStaticGeometryEntity(static_trees, other.entity, x, y, z, radtodeg(yaw), radtodeg(pitch), radtodeg(roll), 1+random(0.5), 1+random(0.5), 4+random(3))
}
BuildStaticGeometry(static_trees)What am I doing wrong? Commenting out either BuildStaticGeometry or AddStaticGeometryEntity prevents the unexpected error, but they just won't work together
Edited by TheSnidr, 23 February 2012 - 10:18 PM.
Posted 26 February 2012 - 03:18 PM
Edited by Netherface, 26 February 2012 - 03:20 PM.
Posted 26 February 2012 - 09:16 PM
Posted 26 February 2012 - 10:47 PM
Prepare to be dissapointed.Just what I was looking for! I hope it isn't to complicated.
Posted 26 February 2012 - 11:09 PM
I understand you don't feel like reading the entire topic, but please at least read the last page?Why is it when I use this extension with GM8.1, the game will start rendering just fine but ignores all input unless I use escape to close it in which it just hangs
Could someone tell me what I am doing wrong all I did was attempt compiling the examples provided without modifying them?
Edited by TheSnidr, 26 February 2012 - 11:10 PM.
Posted 27 February 2012 - 01:15 AM
0 members, 1 guests, 0 anonymous users