Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Mar 29, 2024 3:15 pm
All times are UTC + 0
Does anyone use Blender here?
Moderators: Global Moderators, Media Hut Moderators, Red Alert 2 Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [37 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sat Jan 18, 2014 11:19 am    Post subject:  Does anyone use Blender here? Reply with quote  Mark this post and the followings unread

Just out of curiosity, does anyone use Blender to create assets for C&C mods?

I recently started to use it again after 5 years (stopped using it back then because of the horrible UI and decided to concentrate on 3ds max) since they have updated the UI and made it more stable and it has a LOT of features. The modeling itself is faster than in 3ds max, it's now easier to use and I was quite surprised by that.

I have a plan, yet not certain, to create a render template to it so perhaps that'll bring more 3d modelers to C&C mods.

Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Sat Jan 18, 2014 11:27 am    Post subject: Reply with quote  Mark this post and the followings unread

I use Blender a little bit, but for higher poly stuff than C&C things.  I was similarly scared off by the old and awful UI, but I do have to admit now that it has a bunch of really nifty features.

Back to top
View user's profile Send private message
DarkVen9109
Pyro Sniper


Joined: 02 Nov 2012
Location: Philippines

PostPosted: Sat Jan 18, 2014 1:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Used once but Uninstalled. Since I couldn't get 3DSMax to work for some reasons, Wings3D is my choice.

Back to top
View user's profile Send private message Send e-mail
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sat Jan 18, 2014 4:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well it took quite many hours to create this template for TS assets. It has the same idea as the 3ds max template, you append (in 3ds max 'Xref') the model you want to render, hide the 'plane' object, hit render key. To render shadows you unhide the plane, turn off AA and ambient occlusion, and assing 'Hiding blue' material to your model and finally hit render key.

One TS cell is 1 Blender unit.



template_test_render02.png
 Description:
 Filesize:  15.55 KB
 Viewed:  6040 Time(s)

template_test_render02.png



TS_template1_00beta.zip
 Description:

Download
 Filename:  TS_template1_00beta.zip
 Filesize:  254.19 KB
 Downloaded:  45 Time(s)


Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sat Jan 18, 2014 5:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Another render test (I'll try to create one with textures so I can tune it a bit and after that create one for RA2 lighting):



template_test_render03.png
 Description:
 Filesize:  10.93 KB
 Viewed:  6026 Time(s)

template_test_render03.png



Back to top
View user's profile Send private message
DarkVen9109
Pyro Sniper


Joined: 02 Nov 2012
Location: Philippines

PostPosted: Sun Jan 19, 2014 6:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Great Job Arnold!! Maybe I should reinstall and try blender for TS modding some time. I dunno how you made them but I really wanna know how you make them.

Back to top
View user's profile Send private message Send e-mail
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sun Jan 19, 2014 1:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks! Smile I'll write about how I made the template later.

I've made some changes to next version, something like: everything below z=0 won't be rendered and to switch between sprite render and shadow render you just have to set "Plane's" Pass Index to 1 and turn off AA and assign the blue material to the model. The "Plane" is now invisible to camera so it won't bother at all.

EDIT: there is actually a second method to render shadow frames, you just turn the model's Pass Index to 1 and turn off AA.



civ_guardtower_render01.png
 Description:
 Filesize:  10 KB
 Viewed:  5941 Time(s)

civ_guardtower_render01.png



TS_template1_02beta.zip
 Description:

Download
 Filename:  TS_template1_02beta.zip
 Filesize:  83.68 KB
 Downloaded:  57 Time(s)


Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Sun Jan 19, 2014 9:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

That z=0 thing is a good idea

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sun Jan 19, 2014 10:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Always wanted to have that in 3ds max but I just didn't have any idea how to create that, closest thing to that is animating a slice modifier to hide everything below the cut area. You can also benefit from it by cutting a hole on the plane so you can render models that works underground.

Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Sun Jan 19, 2014 10:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, how does the underground aspect work with this template?  I haven't really done anything like this with the slice (knife?) tool in Blender, so I don't really know how well it emulates the one in 3dsMax.

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sun Jan 19, 2014 11:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Look up the size (dimensions) of the plane in the template which is 70x70 and then you create a new plane in that size. Then you have your model that has underground parts. You create a new mesh that is exatly the same sized as the part that goes underground. Then you add boolean modifier to that mesh and select the plane to have an union with and finally apply the modifier. Then delete the original plane (as the union has cloned it) and select the union mesh and go to edit mode. From here you delete the mesh and leave the plane area. Now you have a hole.

Then you open the template and append the model and the plane. After that you restrict rendering from the template's plane and apply the plane blue material to the new plane.

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Jan 23, 2014 12:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

In the future I'll create a new topic about Blender templates for TS/RA2 when I release the "stable" version.

Note: In version 1.02 one cell is 2 Blender units.

@DarkVen: So the way I created this template:

Camera: Took camera coordinates and angles from TS template made with 3ds max. Made the camera orthographic Made some tunes with a box mesh so the width in render is same as the TS cell width 48px. Also shifted the camera in Y axis a bit.

Lighting: Same coords as the 3ds template, but different lighting setting in overall. Over half light from the sun and the rest from environment light and ambient occlusion (to create minor cool effect), raytrace gather to 10.

Render settings: 640x480 resolution, Shading alpha to Sky, AA to 11x catmull rom, output to RGB (instead of RGBA).

Plane: This is better than in 3ds max, you actually don't have to hide the plane in order to render without shadows, you just turn the plane's Pass Index to 1. Also assign a blue material with 100% intensity to it. These are controlled by nodes.

Nodes: This is where the magic happens, you can remove the AA effect against background when rendering without shadows and the model without assigning blue material to it in order to render shadows, you just have to turn model's Pass Index to 1. Look at the attached image to see what I did here. This is actually post-rendering work. ID mask is the one that removes either the plane or the model from the rendered image.



template_node_image01.png
 Description:
 Filesize:  76.97 KB
 Viewed:  5802 Time(s)

template_node_image01.png



Back to top
View user's profile Send private message
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Thu Jan 23, 2014 1:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Never Mind I found I had DA foundations too

_________________
I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder

http://www.ppmsite.com/forum/viewtopic.php?t=27714

Back to top
View user's profile Send private message Send e-mail Skype Account
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Jan 23, 2014 1:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
the one from LKO Foundations?


From the one I remember creating in the year 2007.

Back to top
View user's profile Send private message
Palkia323
Pyro Sniper


Joined: 10 May 2008

PostPosted: Thu Jan 23, 2014 6:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks so much for this. I've actually been working on something like this for the past 3 days with no progress. How difficult would it be to modify this for a 1:1 (1 BU -> 1 cell) ratio?

EDIT:
After using this for a bit I am confused (and running into a strange drawing glitch(?)).
Does the .blend you attached include the node setup or do we have to do that?

_________________
Tore wrote:
Oh noes Nod32 must have found some GDI32 in the art.ini file!

3ds Topic
Clicky

Last edited by Palkia323 on Thu Jan 23, 2014 7:44 pm; edited 1 time in total

Back to top
View user's profile Send private message
Nikademis Von Hisson
General


Joined: 05 Sep 2007
Location: Wilkes Barre PA

PostPosted: Thu Jan 23, 2014 6:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah DA, I found them. I thought the ones were LKO's, but in my archive of downloaded material I found yours.

_________________
I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder

http://www.ppmsite.com/forum/viewtopic.php?t=27714

Back to top
View user's profile Send private message Send e-mail Skype Account
DarkVen9109
Pyro Sniper


Joined: 02 Nov 2012
Location: Philippines

PostPosted: Fri Jan 24, 2014 10:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Great!! I could find myself some time today since it's Friday here, I could spend more time in practicing for blender. Just reinstalled so I could begin already.

DonutArnold wrote:
Note: In version 1.02 one cell is 2 Blender units.

I'm using version 2.69 here. How many blender units approximately for Tiberian Sun an/or Red Alert 2 anyway?

Back to top
View user's profile Send private message Send e-mail
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Fri Jan 24, 2014 1:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Palkia323 wrote:
Thanks so much for this. I've actually been working on something like this for the past 3 days with no progress. How difficult would it be to modify this for a 1:1 (1 BU -> 1 cell) ratio?

EDIT:
After using this for a bit I am confused (and running into a strange drawing glitch(?)).
Does the .blend you attached include the node setup or do we have to do that?


Shouldn't be hard, you just double camera's orthographic scale and from 3d view properties section "Display" you drop scale to 0.5 to get the grid right (2x2 grid size for 1 cell is more usable).

Could you attach a screenshot from the drawing glitch? And it does include the nodes, so you don't have to create them by yourself.

DarkVen9109 wrote:
Great!! I could find myself some time today since it's Friday here, I could spend more time in practicing for blender. Just reinstalled so I could begin already.

DonutArnold wrote:
Note: In version 1.02 one cell is 2 Blender units.

I'm using version 2.69 here. How many blender units approximately for Tiberian Sun an/or Red Alert 2 anyway?


Nice! I'm using Blender version 2.69 too. The current template is created for TS assets and 2 BUs = 1 cell. I'll create the RA2 version as soon as the TS template is "stable" enough.

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Fri Jan 24, 2014 10:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

New version:
-Added contrast node
-Added switch which allows you to render between model and shadow (Switch on + Plane's Pass index: 1 = render model; switch off + Model's Pass index: 1 = render shadow)
-Fixed lighting (now more similar to 3ds template)
-Fixed camera position (dunno how I kind of screwed that, lol)

Notes: when texturing your model and to get the best render result, make sure its material settings are set to:
-Diffuse Intensity: 1.00 (texture amount of visibility, default is 0.8 which makes texture only 80% visible)
-Specular Hardness: 15 (makes model less plain)
-Shading Emit: 0.2 (material brightness)



civ_guardtower_render05.png
 Description:
 Filesize:  6.9 KB
 Viewed:  5638 Time(s)

civ_guardtower_render05.png



TS_template1_04beta.zip
 Description:

Download
 Filename:  TS_template1_04beta.zip
 Filesize:  268.51 KB
 Downloaded:  48 Time(s)


Back to top
View user's profile Send private message
DarkVen9109
Pyro Sniper


Joined: 02 Nov 2012
Location: Philippines

PostPosted: Sun Jan 26, 2014 5:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Damn thanks Arnold! But lolz, I dunno where to start this time. I don't know what should I choose to make a 3D unit. Pencils aren't a proper one. I was trying to render this one anyway.

Back to top
View user's profile Send private message Send e-mail
Palkia323
Pyro Sniper


Joined: 10 May 2008

PostPosted: Sun Jan 26, 2014 8:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

I was wrong in using the word "glitch" as it seems to be a setting that I cannot find to revert.


This rendering confuses me between backface selecting and normals being flipped. Could you give me the name/location of this so that I may revert it?
(Sorry, I didn't realize the image was so large.)

Also I have noticed (maybe you intended this?) that unless you set the pass index of the blue plane to 1, the nodes seem to be useless as the geometry is still anti-aliased against said plane (including shadows).

_________________
Tore wrote:
Oh noes Nod32 must have found some GDI32 in the art.ini file!

3ds Topic
Clicky

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sun Jan 26, 2014 9:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

DarkVen9109 wrote:
Damn thanks Arnold! But lolz, I dunno where to start this time. I don't know what should I choose to make a 3D unit. Pencils aren't a proper one. I was trying to render this one anyway.


You're welcome! Start from something simple. Smile

Palkia323 wrote:
I was wrong in using the word "glitch" as it seems to be a setting that I cannot find to revert.


This rendering confuses me between backface selecting and normals being flipped. Could you give me the name/location of this so that I may revert it?
(Sorry, I didn't realize the image was so large.)

Also I have noticed (maybe you intended this?) that unless you set the pass index of the blue plane to 1, the nodes seem to be useless as the geometry is still anti-aliased against said plane (including shadows).


Did you create this model in a new file and after that appended it in the template? Could you describe everything you did to make this problem happen since I don't get this problem to appear with my template?

And yes, it is intended because Blender doesn't normally AA against background, so setting pass index of the blue plane to 1 makes it disappear. The AA against background is actually partly Alpha and the ID pass node actually recognizes that too it can be either turned on or off, and in this case it's turned off to create the same "Don't AA against background" option than in 3ds max, just a bit different route.

Back to top
View user's profile Send private message
Palkia323
Pyro Sniper


Joined: 10 May 2008

PostPosted: Sun Jan 26, 2014 9:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well this is a bit strange.. I no longer have that problem from the image.
It was made directly inside of the template file btw.

With this setup is there a way to get non AA'd shadows?

_________________
Tore wrote:
Oh noes Nod32 must have found some GDI32 in the art.ini file!

3ds Topic
Clicky

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Mon Jan 27, 2014 8:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes:

Quote:
New version:
-Added contrast node
-Added switch which allows you to render between model and shadow (Switch on + Plane's Pass index: 1 = render model; switch off + Model's Pass index: 1 = render shadow)
-Fixed lighting (now more similar to 3ds template)
-Fixed camera position (dunno how I kind of screwed that, lol)


Oh and when rendering shadows, turn off AA from the rendering tab.

Back to top
View user's profile Send private message
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Tue Jan 28, 2014 3:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Why should someone do that? Why can't it all be automated?

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Tue Jan 28, 2014 10:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Well the way it is right now is because I'm slowly creating this template piece by piece (like fixing values/bugs and adding new features) and that I basically started to use Blender again beginning of the year and after 6 years (and back then I was quite rookie with Blender too).

And it can be automated, I just have to learn and write some scripts.

Back to top
View user's profile Send private message
DarkVen9109
Pyro Sniper


Joined: 02 Nov 2012
Location: Philippines

PostPosted: Tue Jan 28, 2014 12:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

How to do the 3ds like render? I keep on configuring and configurung already but nothing's happening

Back to top
View user's profile Send private message Send e-mail
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sun Feb 02, 2014 11:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Simple tut:

1. Open template
2. Append your model (Shift+F1): modelfilename.blend\Object\ Select all except camera and light.
3. To render without shadows: turn plane's "pass index" to 1 and hit render. Hit F3 to save the rendered frame.
4. To render shadows: turn plane's "pass index" back to 0 and select the model you're rendering and turn its "pass index" to 1 (if you have multiple models you have to do it one by one, I'll include a shortcut in the next version). Now go to Node Editor and turn off Switch. Turn off AA and render.

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Sun Feb 02, 2014 9:31 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Jun 18, 2015 3:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

You can make fire with Blender and it's quite easy, also explosions #Tongue



exp_large01_render02.gif
 Description:
 Filesize:  40.8 KB
 Viewed:  3252 Time(s)

exp_large01_render02.gif



fire_large01_shorter01.gif
 Description:
 Filesize:  36.91 KB
 Viewed:  3252 Time(s)

fire_large01_shorter01.gif



fire_large01_constant01.gif
 Description:
 Filesize:  43.54 KB
 Viewed:  3252 Time(s)

fire_large01_constant01.gif



Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Thu Jun 18, 2015 3:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Can I use these gifs? D:

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Jun 18, 2015 3:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sure, go ahead.

Back to top
View user's profile Send private message
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Thu Jun 18, 2015 4:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Jesus, DA. Make more! SO HOT. #Tongue

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
BySc
Cyborg Artillery


Joined: 07 Jul 2013
Location: Turkey

PostPosted: Thu Jun 18, 2015 5:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Large exp Really good sir,Any tutorial ?

_________________

Back to top
View user's profile Send private message ModDB Profile ID
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Jun 18, 2015 5:22 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Jun 18, 2015 5:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Smaller fire (Large in TS)



fire_large01_render02.gif
 Description:
 Filesize:  13.27 KB
 Viewed:  3219 Time(s)

fire_large01_render02.gif



Back to top
View user's profile Send private message
BySc
Cyborg Artillery


Joined: 07 Jul 2013
Location: Turkey

PostPosted: Thu Jun 18, 2015 6:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you sir.Have a nice day.

_________________

Back to top
View user's profile Send private message ModDB Profile ID
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [37 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2365s ][ Queries: 22 (0.0203s) ][ Debug on ]