PLUGIN: Razorblade 3D - full-blown, modern 3D within AGS!!

Started by DoorKnobHandle, Sun 08/08/2010 16:55:17

Previous topic - Next topic

Dualnames

Quote from: Calin Leafshade on Fri 22/10/2010 21:05:10
Dude, 3D maths is wayyyy out of your league.. just let this one go.

Hey may be a troll sometimes, but that doesn't mean we can be dicks constantly.
Icey try and copy the exact message here.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Calin Leafshade

3D maths is out of *my* league duals and I have a passably decent knowledge of maths... relatively speaking anyway

Emperor Justin

#62
Fair enough.
EDIT- on a side note, I love how the folk across the pond say "maths."  Unlike us grunting, savage yanks.

Buckethead

I have very little knownledge in 3d programming but it would be great fun to team up with someone who can. I do know how to model in 3d and how realtime shaders work.

lan

The download does not work...trying to access <url>http://www.drop.io/4iins5r/asset/razorblade-3d-1-0-rar/safe_download</url> results in a time-out...is there any alternative link to razorblade 3d plugin for downloading it?

thanx in advance :)

DoorKnobHandle

I re-uploaded it to here: http://www.yourfilelink.com/get.php?fid=634101

Let me know if that worked for you, I didn't have the original archive anymore so I had to put it together again.

EDIT: And the demogame can be found here: http://www.yourfilelink.com/get.php?fid=634109

lan

Quote from: dkh on Fri 18/03/2011 21:12:35
I re-uploaded it to here: http://www.yourfilelink.com/get.php?fid=634101

Let me know if that worked for you, I didn't have the original archive anymore so I had to put it together again.

EDIT: And the demogame can be found here: http://www.yourfilelink.com/get.php?fid=634109

At first: Thank you for your really fast response!!! The downloads worked fine :)

When I tried to open your demo with AGS (V3.2.1, February 11th) it first complained about the missing dll, which I copied into the directory of the demo game. After opening demo again I got a compilation error:

Camera.asc(258): Error (line 258): Undefined token 'RB_SetCameraPosition'

Maybe I have forgotten to install some required component/plugin/module/... ?

lan

In the meantime I tried to run Razorblade3D following the above instructions of Sledgy

Quote from: Sledgy on Tue 10/08/2010 18:02:57
btw, here instruction for running plugin (probably it'd useful for somebody ;)) is:

1. Download the Razorblade plug-in project
2. Download AGS 3.2.x, if you haven't it yet
3. Install AGS exactly in this folder 'C:AGS 3.1.2 SP1'
4. Unpack plug-in to 'C:AGS 3.1.2 SP1' (then files Documentation.txt and dll must be in this folder, and the plug-in project in the 'Razorblade Testgame' folder)

Do not rename the AGS folder, or the plug-in folder, or any files in the plug-in folder.


5. Run AGSEditor, choose Game.agf from the 'Razorblade Testgame' folder.

It must be opened without errors.


6. F5 - Run

Unfortunately the compilation errors still occur:

Camera.asc(258): Error (line 258): Undefined token 'RB_SetCameraPosition'

Any help would be appreciated. thank you.

DoorKnobHandle

Hm, I'm not 100% sure as to what the problem could be unfortunately. All I can think of is that I did some changes to it in the meantime between release back then and this re-release. Don't really have the time to look into it (sorry). If you, in your game script (or that of the demo) somewhere type "RB_" it should pop up the autocomplete window with a couple of Razorblade functions in there, does that work at all?

lan

Quote from: dkh on Mon 21/03/2011 15:22:08
Hm, I'm not 100% sure as to what the problem could be unfortunately. All I can think of is that I did some changes to it in the meantime between release back then and this re-release. Don't really have the time to look into it (sorry). If you, in your game script (or that of the demo) somewhere type "RB_" it should pop up the autocomplete window with a couple of Razorblade functions in there, does that work at all?

Unfortunately auto-complete does not work, all Razorblade functions seem to be unknown/undefined. 

Maybe any of the other Razorblade users can provide a download with a working version of the plugin and the demo game???

DoorKnobHandle

Quote from: lan on Tue 22/03/2011 06:30:25
Quote from: dkh on Mon 21/03/2011 15:22:08
Hm, I'm not 100% sure as to what the problem could be unfortunately. All I can think of is that I did some changes to it in the meantime between release back then and this re-release. Don't really have the time to look into it (sorry). If you, in your game script (or that of the demo) somewhere type "RB_" it should pop up the autocomplete window with a couple of Razorblade functions in there, does that work at all?

Unfortunately auto-complete does not work, all Razorblade functions seem to be unknown/undefined. 

Maybe any of the other Razorblade users can provide a download with a working version of the plugin and the demo game???

That would be helpful. If you open the editor and take a look under 'plugins', is the Razorblade plugin listed there? Is it greyed out?

lan

Quote from: dkh on Tue 22/03/2011 10:41:43

That would be helpful. If you open the editor and take a look under 'plugins', is the Razorblade plugin listed there? Is it greyed out?

Neither nor...the "plugin" from the download contained a DLL and a documentation.txt, which i copied into my AGS installation directory.  I think, there's somthing missing...?

DoorKnobHandle

The DLL is the only thing it should need to install properly and show up in the 'plugins' section of the AGS editor. You said in a previous post you copied the DLL into the directory of the demo game? You need to copy it into the directory of the AGS Editor instead. Also make sure to run the right version of the editor in case you have more than one installed.

Ie. make sure that the 'AGS Razorblade Plugin.dll' file is in 'C:\AGS 3.2.1' (if that is your install location of the editor) and then, in that folder, run the 'AGS Editor.exe'. I sometimes made the mistake of using my desktop shortcut which would point to a different version of the editor. If you can confirm that you have done these steps and it's still not showing up, something is indeed very wrong.

lan

Quote from: dkh on Wed 23/03/2011 12:27:04
The DLL is the only thing it should need to install properly and show up in the 'plugins' section of the AGS editor. You said in a previous post you copied the DLL into the directory of the demo game? You need to copy it into the directory of the AGS Editor instead. Also make sure to run the right version of the editor in case you have more than one installed.

Ie. make sure that the 'AGS Razorblade Plugin.dll' file is in 'C:\AGS 3.2.1' (if that is your install location of the editor) and then, in that folder, run the 'AGS Editor.exe'. I sometimes made the mistake of using my desktop shortcut which would point to a different version of the editor. If you can confirm that you have done these steps and it's still not showing up, something is indeed very wrong.

Yes, that was VERY helpful!!! THANK YOU VERY MUCH!!!

Now I can load the razorblade demo and - after enabling the razorblade plugin - I can compile and execute it.

Unfortunately (after game start) there are more error messages in a dialog box, saying 'Razorblade plugin: Failed to draw indexed primitive for the mesh 'Hand'...' and 'Razorblade plugin: Failed to draw indexed primitive for the mesh 'Pipe'...'


DoorKnobHandle

Hm so that means either I did make changes to the plugin after release (that I can't remember right now) or there is a problem with the plugin running on your system - kinda unlikely though. In any case, to test we would really need someone to upload the original DLL file from back in the day.

Anybody still got that?

The plugin is still in development BTW, I recently made some progress getting actual skeleton/bone based animation implemented into the custom model file format, once that works it's high time for a 1.1 release!

Buckethead

Sure, here's the original dll file:

http://dl.dropbox.com/u/6325410/AGS%20Razorblade%20Plugin.dll

What I think this plugin needs too is some sort of editor. Maybe I'm just spoiled by engines like Unity and UDK but I think it gets really technical without an editor to see where you are placing things.

DoorKnobHandle

Awesome, thanks a TON, BH! I'll store it. Try that Ian and let me know how it goes (just go through the DLL files of Razerblade that you have in the Editor directory, in the test game directory and maybe even in the compiled folder in that and replace the DLL with that one BH posted!

QuoteWhat I think this plugin needs too is some sort of editor. Maybe I'm just spoiled by engines like Unity and UDK but I think it gets really technical without an editor to see where you are placing things.

Hm yeah, good call. While developing a full-blown editor is pretty much out of the question as far as the workload goes for me, I think we could use a map/level/world format to accompany the model format. These levels could then be made in the same 3D program that is used for making models with the difference that you could place models in it. I should think about that, really too busy for anything in the near future though.

EDIT: I have actually given the testgame a try now with the plugin file that I posted originally a couple posts above and it does work with that, must be a problem on your end. Try to run in windowed mode, update graphics drivers and so on.

lan

At first thank you again for all your support.

Unfortunately, it still does not run on my machine (win xp+sp3+directx9.0c+ latest driver for my 'ati mobility fire gl' graphics card) though I installed all as described by Sledgy (into c:\AGS 3.1.2 SP1).

When demo game is compiled and started from AGS it shows the following error:
  http://img109.imageshack.us/i/zwischenablage01r.gif/

After that error is confirmed it shows the following screen:
http://img856.imageshack.us/i/zwischenablage02.gif/

As already mentioned I updated drivers etc. - what else could I do?

And by the way which tool do you use to create and edit the 3d-models? and: will there be an integration into  AGS in future versions?

DoorKnobHandle

Sorry for being so slow at responding, I'm extremely busy due to an internship currently.  The errors mean that something goes wrong when trying to render meshes, but apparently only some fail (the pipe and hand mesh) and the rest appears to work fine. What that is that's going wrong I really can't tell. Do you have access to a different machine and could try it out there? I and others have used the plugin and tested it out and it seemed to work for everybody so far except you. :D

At the moment you can only create models/levels and so on in 3DS MAX. Don't know what exactly you mean with integration into AGS in future versions? Integrating a 3d model editor to use seems incredibly hard and time-consuming, wouldn't hold my breath on that one.

Matti

Quote from: dkh on Thu 31/03/2011 18:09:45
I and others have used the plugin and tested it out and it seemed to work for everybody so far except you. :D

As far as I remember, I've had the same error messages when I tried out the plugin some time ago. But I didn't care as I'm not really interested in doing something in 3D.

But great work nevertheless!

SMF spam blocked by CleanTalk