Home | Download | Discussion | Help | Site Map | New Posts | Sign in
Replies: 51 (Who?), Viewed: 54425 times.
Page 1 of 3
Instructor
Original Poster
#1 Old 13th Feb 2007 at 8:41 PM Last edited by Echo : 10th Sep 2008 at 2:36 PM.
Object transparency tutorial
Object transparency tutorial

Quote:
For the time being this tutorial will receive minimal support by me. As i can be quite busy with other things



It's back with new graphics and new text with new spelling mistakes/typo's
Also on this thread you will find my adding glass transparent effects tutorial for download. I was going to merge the two tutorial's together. But i have decided to leave them in seperate files.

visit my profile here: mike19's profile

Thanks to mts2 and all the moderators

also the makers of SimPE and special thanks to numenor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


This tutorial will take you through the process of how to create recolor's by removing parts of the graphics, and so creating the illusion of a see through object. Or if you are successful you can continue to add transparency effects by applying the same technique.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
If you are completely new to recoloring please visit: Recolouring Objects with Object Workshop (NEW tutorial) By numenor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
If you want to or need to clone a object : Sims 2 start to finish Object Creation Tutorial V 2.1 By JWoods
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
What you need:
1. simpe
2.jasc paint shop pro or similar such as the gimp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
A. After any changes always commit and save
B. Please do not publish this tutorial on any pay site
C. Ask questions if you get stuck
D. Please do not publicly critise the technique in this tutorial, if you know of another technique write your own tutorial.
E. If you think I have missed something please tell me
F. "Legacy" Nvidia DDS Utilities legacy dds utilities
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Some objects may be too complex for this method. If you do find problems you may have to clone the object and edit the alpha channel or create a new mesh.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
The object transparency tutorial.v1 rar file contains a web/html document so you will need to be connected to the internet to view the graphics with a web browser such as internet explorer 7. As they are hosted on photo bucket.(once you have extracted it to your pc right click and open)
The adding glass transparent effects contains a word document so you will need a programme that can open this kind of file

If you have found this tutorial usefull and have had success, let me know in the thread. And please say thanks.




-----
Tutorials:Object_Transparency_Tutorialwiki
Download - please read all instructions before downloading any files!
File Type: rar object transparency tutorial.v1.rar (3.7 KB, 2624 downloads) - View custom content
File Type: rar adding glass transparent effects.rar (5.53 MB, 1207 downloads) - View custom content
File Type: rar adding glass transparent effects-pdf.rar (2.59 MB, 1267 downloads) - View custom content
89 users say thanks for this. (Who?)
Advertisement
Instructor
Original Poster
#2 Old 13th Feb 2007 at 8:45 PM Last edited by mike19 : 22nd Feb 2007 at 2:03 PM.
Here are some examples of what can be done using the method in the tutorial/s
Screenshots
Part-time Hermit
#3 Old 13th Feb 2007 at 8:54 PM
Yay, thank you for reposting the tutorial, it has been much needed .
Lab Assistant
#4 Old 23rd Feb 2007 at 8:30 PM
I have a problem

When I set stdMatAlphaBlendMode in Blend, all the object It's strange...
I want to make only the blanket transparent



Why?
Instructor
Original Poster
#5 Old 23rd Feb 2007 at 9:30 PM Last edited by mike19 : 23rd Feb 2007 at 10:33 PM.
where does that bed come from?


at the moment all i can say is it must be something you havent got right.
as i just checked in my screen shot. if you edit a beding texture from an original in game bed then the texture is applied to all beds includeing custom beds.

also i notice the colour in your screen shot is still there last time i got the dxt incorect it showed up on the game black not with the original colors.
have you recolored the texture correctly and did you get a checkerboard effect? i know it appears in paint shop pro but it may depend on what you used to edit the texture.
Screenshots


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Lab Assistant
#6 Old 24th Feb 2007 at 10:20 AM
I have changed the stdMatAlphaBlendMode in Blend to create a trasparent blanket.
I use gimp 2 for texturing. I Mapping the bed ( the blanket etc...), but I see semi-trasparent all object! ( the cuscions are behind the espalier et...)
Screenshots
Forum Resident
#7 Old 24th Feb 2007 at 10:27 AM
That happens with multi-subset objects. They dont support transperancy, except only when using the material definition (not a texture).
Instructor
Original Poster
#8 Old 24th Feb 2007 at 7:04 PM Last edited by mike19 : 25th Feb 2007 at 2:03 AM.
i'm afraid it does look like you cant edit the texture in that object. the beds that i tested on have a seperate texture for the bedding. the bed and legs etc are in another seperate texture.
and as i did say at the top of this page:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Some objects may be too complex for this method. If you do find problems you may have to clone the object and edit the alpha channel.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
but as this seems to be a new object your using and not a clone from a game version i dont know you will get any where with it.


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Lab Assistant
#9 Old 26th Feb 2007 at 9:19 AM
I create this bed by clone object. I would like create a trasparent blanket. Is not possible?
Maybe, us they must be a different part of object...as an example , the bed i'ts composite of two part of objectm frame and bedding, but it's usable only frame, because bedding it's s part of animation.


Excuse me, but I don't speak very well english
Instructor
Original Poster
#10 Old 26th Feb 2007 at 12:00 PM
you normally need at least two seperate textures, 1 for the bed and another for the bed sheets, from the the texture you have shown it looks like it only has one texture for the bed and bed sheets.
have a look at the screenshots of the test bed i made it shows the texture for the bed and a texture for the beding.
if you do only have one texture perhaps you need to change it so it will have two so it will only be the bed sheets you edit.
Screenshots


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Lab Assistant
#11 Old 26th Feb 2007 at 1:01 PM Last edited by kihaad : 26th Feb 2007 at 1:09 PM.
I have tried to make therefore: There are two part of an object, in one I use ONLY texture without trasparent , in two I modify the material definion in Blend, for trasparent.
But I have however the problem that I have made to see.
I see many site that they succeeded to make it.

In the example of the bed , I cannot make what you have said , because the the blanket is part of the first group of objects.

I have read that it must modify the alpha channel, there is a tutorial?
Instructor
Original Poster
#12 Old 26th Feb 2007 at 11:20 PM Last edited by mike19 : 28th Feb 2007 at 1:20 PM.
uhm
if you like i'll take a closer look at the file/s
then we may get past what neither of us understand, be it down to language or the tutorial.
send me the file in a rar or WinZIP if you like pm me for my email address with

or if you have seen success in other objects have a look at them with SimPE and see what was done.
if it's any consulation before i worked out this tutorials technique i originally took 3 weeks to make my first transparent/see through object as there was no tutorial or advice available and thats what prompted me to write what i know. there is claimed to be other way's but mine is what i can deal with it's not fool proof and i am happy to help as much possible.

have a look at this link it's one of my first attempts at this idea
http://www.modthesims2.com/showthread.php?t=67747
it's awfull by comparison now, but i made it and it still gets downloads now and then.


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Test Subject
#13 Old 14th Mar 2007 at 8:32 PM


I started doing your transparency tutorial last night but still can't get to the recoloring stage. I do not get the Generic RCOL Editor up in the Plug In window like you show so I can't select "Blend". I've checked all over the SimPE site and even downloaded and printed out manuals and tutorials for SimPE but nowhere do I see how to get this RCOL editor. I've even reinstalled SimPE but still don't see it.
Instructor
Original Poster
#14 Old 16th Mar 2007 at 1:42 PM
with your file open in simpe, up on top left under resource tree, . make sure you highlight material definition. then on the right under resource list highlight the txmt .you should see something like:
beddoublecolonial-[mike190870-23.2.2007-142f23]_frame_rosewood_txmt
then at the bottom you should see the stdMatAlphaBlendMode properties in the list in plugin view.make sure you have selected the content & properties tab
if you still cant see it then you may need to post for help in another thread with SimPE


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Field Researcher
#15 Old 27th Mar 2007 at 5:53 PM
I got a question:

What do I have to do in my graphic editor to get the checkerboard effect?
Instructor
Original Poster
#16 Old 28th Mar 2007 at 2:09 AM Last edited by mike19 : 28th Mar 2007 at 11:58 AM.
Quote:
Originally Posted by RealGanacampo
I got a question:

What do I have to do in my graphic editor to get the checkerboard effect?


depends on what programme your using


also make sure you have followed step.......
9 & then 10.

Underneath in plugin view change the value from none to blend

(just type blend in to the value box) click commit & save the file. Then repeat for the other material definition ............

and through to step 12
if you are using paintshop pro you will see the checkerboard effect if you are using another programme then as long as you have followed the tutorial then you should have no problem. regardless of the programme you use. any programme that can handle the png format and transparency will be ok.


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Test Subject
#17 Old 14th Jul 2007 at 9:15 PM
Default How did this happen?
I thought I had it all figured out! lol Somehow the two smaller versions of this curtain turned out just fine, but why did it make the double one look inside out?
Screenshots
Instructor
Original Poster
#18 Old 16th Jul 2007 at 12:33 PM
i'm not sure what you mean. I can't see a problem. Or maybe i need new galssses. Without spending the next hour experimenting and trying to duplicate what you have done i cant give an answer with the info so far.


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Top Secret Researcher
#19 Old 16th Jul 2007 at 4:33 PM
Thanks for the tutorial. I might use this a lot.
Test Subject
#20 Old 16th Jul 2007 at 5:21 PM
How does SimPE work?? I can't realy figure out
Mad Poster
#21 Old 16th Jul 2007 at 5:52 PM
Crissie0721,

curtains like windows can be placed from both sides of the wall, may ensure they're placed from the same side.


Turenz93,
may read this tutorial
http://www.modthesims2.com/member/s...ead.php?t=31995
Test Subject
#22 Old 17th Jul 2007 at 10:53 PM
mike19:
I've tried again with the same results. Maybe this picture will display my problem a little better. I used the Floor Length Tie back curtains knowing that the texture is lended to the Sill Length and Doublewide as well. The floor length and sill length turn out just fine, but the doublewide looks like the swag portion is behind the sheers instead of in front. Any ideas why?

niol:
thanks but they are all on the inside ....
Screenshots
Instructor
Original Poster
#23 Old 18th Jul 2007 at 12:06 AM
well i have no idea, apart from maybe it's the way the texture was originally mapped. But i have a suggestion...
that is to leave the sheers as a solid colour
Screenshots


Please dont upload my creations to paysites.
But please feel free to use
ANY other way you like

Mad Poster
#24 Old 18th Jul 2007 at 5:23 AM
The upper piece of the 2-tiled curtain is meshed differently from the 1-tiled one.
I also think mike's suggestion is a neat one.

As for some unmapped region of a mesh, one may try the StdMatCullMode none.
http://www.sims2wiki.info/TXMT/Para.../StdMatCullMode
Either add or edit the line "StdMatCullMode" to be "none" @ the txmt file.
This can be tried on this instance to see if anything happens, too. I'm unsure tho.
Admin of Randomness
retired moderator
#25 Old 18th Jul 2007 at 5:25 AM
Mike, that sort of defeats the idea of making sheers, yes?
There is a problem in general with using the 'blend' setting, which is that pieces that overlap each other with blend sometimes will display as these curtains are - something about the order of how the pieces were made will change how they display in game.
Unless you made the curtains mesh and thus can remake it Crissie, I think those curtains will have to not use blend.

But if you want to *shorten* them (or put holes in them), you can do that by setting
stdMatAlphaBlendMode:none
stdMatAlphaTestEnabled:1

and then keep everything solid and erase the parts you don't want to show (if it's a png) That setting will work with objects where blend makes a mess.

"Undertake something that is difficult; it will do you good. Unless you try to do something beyond what you have already mastered, you will never grow." - Ronald E. Osborn

Please do NOT PM me with requests, creation questions, or game help questions. Click for help:
Game Help | Create | Content List | Where Can I Find?
Page 1 of 3
Back to top