Notifications
Clear all

[Closed] Flash 3d Viewer (using maxscript rendering)

REQUEST:

For the next version, it’d be great if we could add specific objects to the scene, objects that wouldn’t render, but would somehow be a tag for interface items through flash…

For example, we could add an object called, “menu_1” and each frame would be tagged with the location of “menu_1” and the SWF flash file would contain the actual menu buttons and animations, etc., but they would be dynamically placed atop the rendered footage…

So we can easily make websites with 3D interfaces.

Wow, this really is great. Something like this could’ve been sold to a company eager to polish it up and resell it, but you’ve chosen to release it to the community. So thanks for that

I forgot to ask: Does this work with Max 8? The reason I ask is that I keep getting crashes and errors whe using it.

~M~

1 Reply
(@flexgiddy)
Joined: 11 months ago

Posts: 0

I’m getting the same with with Max 9… am I doing something wrong or something?

Really nice :), i always wanted to find this kind of script

GPL licence allow us to use for portfolio ?

Thanks for your comments everyone!

That certainly is an interesting thought. It is quite a change to the way the whole thing would work though. One of the ‘problems’ here is that compiling actionscript tags to an swf (which I’m doing here) is not very easy, not very flexible and takes a lot of time. As an example, defining a simple variable is done like this in C#:


ArrayList actions = new ArrayList();
actions.Add(new ActionPush(0, "aVariable"));
actions.Add(new ActionPush(1, "theValue"));
actions.Add(new ActionDefineLocal());

Compiler comp = new Compiler();
Byte[] compActions = comp.Compile(actions);
DoActionTag newBaseTag = new DoActionTag(compActions);
swf.Tags.Add(newBaseTag);

So as you see, it’s quite tedious to add actionscript. It’s not impossible though, and I’ll think about your suggestion.

Oh that’s no good! It should work with max 8. I have only tested it on 7 and 9 I must admit, but from that I concluded that it should work on max8 as well…
Could you please post the error that you’re getting and where/when? (open the maxscript listener before running it (F11) to see the full error report)

Thanks! Yes you can use it for your portfolio if you want. GPL basically means that you can use the ‘product’ of the script in any kind of project (commercial or non-commercial) for free. If you want to use the sourcecode in your projects (again commercial or non-commercial) that’s ok too, as long as you publish the sourcecode with the release of the product in which it’s used.

i have just made my first movie with it, and i must admit is a great tool

just a suggestion,if you could make another format or just use the .swf, without the .f3vd, it will be better for me ^^

but great

Thanks
I could make an option for the file extension. It’s really no more than just a swf with the f3dv file extension, so you can change it to .swf if you want. I made it into .f3dv to make it easier to detect for a CMS. For the MT website for example, we’re going to have a component that will handle all 3d viewer files. And the uploading of a f3dv file will be just as easy as any other file, the type detection will go automatically due to the extension.

h i there, great little program you made, cant wait to use it, thanks very much. …but seeing as I turn into a complete dolt when i have to do anything involving compilers, installers, plug-ins etc could you please give a brief rundown of the steps you have to take to get this working? i have downloaded the two sets of files you linked to, errrr now what?

–apologies for my stupidity.

That’s no problem. I should have written a bit about the installation.

1. If you don’t have the .NET framework installed already (does it come with max?), download and install it.
2. Download the f3dv installer and install it. When asked for a directory, select your 3dsmax root directory, for example: C:\Program Files\3dsmax 7
3. You can now use the script in any way you want. You can run it directly by using MAXScript -> Run script -> f3dvExporter\f3dvExporter.ms.
However, it might be more efficient to make a custom menu button for it:
[color=DarkOrange]4. [color=#fffffe]Go to Customize -> Customize user interface.

[color=DarkOrange]5. Go to the ‘menu’ tab, and click ‘new’. Enter the name of the new menu item and click ok.

6. Select the newly created menu item from the list in the bottom-left selection box, and drag it into the menu list on the right.

7. Expand the added menu item. In the list on the left, select the f3dvExporter, and drag it into the menu.

8. Now you can start the script through the menu bar. Of course you can place it somewhere else if you prefer to.
[/color][/color][/color]

Hey man, this thing looks amazing, i cant wait to try it out thnx alooot.
I would like to ask if is it possible to do the viewer with animated objects? lets say i hv a walking cycle, would it work with it? if not, do you plan to support animations, is it possible to do?
Andre

Page 2 / 16