Editing and Customization > Tutorials

Cinema 4D to SDK hammer?

(1/6) > >>

I was wondering if anyone knows how to export 3D mountains from cinema 4D to hammer? I really do appreciate the help.

The fastest and easiest way to export models from C4D is the plugin I/Ogre.
I'd also recomend Vertex Normal Tool lite to 'bake' the phong-tag smoothing into a normals Tag.

Materials should have the Name of the .vmt you're going to assign to the model.
Geometry should be triangulated before applying the Normal Tag.

If you need to know more about the structural setup of the file, just import an smd with the plugin and pay attention to the hierarchy and tags in the Object Manager Window.

Collision Models have to be assembled from convex shapes and you need to apply a phong angle of 180° to them.

Cinema is rendering the backface of the polygons by default, but you can disable that in the viewport options of the 3d viewport
or just use the polygon mode and "select all" from the selection menue.
Now the front faces will be tinted orange while the back of them is tinted blue.

You'll end up with one or several exported .smd Objects that can be compiled to a model using a .qc file.

For your Mountains you won't need any collision, so you will be fine with only one smd.
Keep in mind that there are polygon/vertex limits for source engine models.
(according to the vdc: 17,433 vertices and 2048 texture size for a single model)
Ofc. it's better to not hit these limits if it isn't absolutly necessary.

Edit: I figured it out. Thanks.

Hello. I am not having an issue converting the .SMD file to MDL. I tried countless times to make the .QC file but everytime i go to compile it gives me this error: SteamStartup() failed: SteamAPI_Init_Internal failed. I really have no idea what to do. Here is the .smd file if you want to help me create the QC file so i can compile this bloody thing. Here is the link: https://www.dropbox.com/s/guitgz8bthztdml/SnowBlind_Mountains.zip?dl=0. I have done a bunch of research and i know that this compile thing should be simple but i am wasting to much time on this. I made this mountains so damn beautiful i would hate for them to go to waste. I don't like asking for help but i feel this is necessary. Thanks if you can spare me your time. You will be credited.

How the hell did you create a 500MB .smd file?
Even if i go far above the triangle/vertex limits with a landscape object, i cannot even reach 1/10 of that size.

You're either doing something absolutly wrong, or trying to fool us one more time.
And i ain't got time for the second possibility.


[0] Message Index

[#] Next page

Go to full version