3Shape Colors

Sevan P

Sevan P

Well-Known Member
Full Member
Messages
3,418
Reaction score
641
Got Bored and Decided to manipulate some colors in 3Shape.

Gold opposing with zero shine anyone?
afarm9.staticflickr.com_8403_8685528180_aa221d2d50_b.jpg

How about super shiny Gold!
afarm9.staticflickr.com_8263_8685528128_7b2ae9a5a0_b.jpg

Sam2P OrangePlastic opposing with normal shine level
afarm9.staticflickr.com_8124_8684418917_e49e4e31e0_b.jpg

Denar GreenPlaster opposing normal shine level
afarm9.staticflickr.com_8402_8685547006_07aae2f9f7_b.jpg

Kavo Red Metal
afarm9.staticflickr.com_8532_8685546980_c7c013134c_b.jpg

Pretty cool huh!

Decided to hack a bit, LMFAO.

It is pretty easy to change up, so many colors to play with and you can change the shine level on current settings as well. Let me know if you guys want to know where and how to do it.

Just playing around, this could be the 3Shape version of Scotts exocad colors thread.

I like to call this one the American Theme. I also dropped the shine value on the Zircona shader a bit, too bright originally.
afarm9.staticflickr.com_8406_8685561448_06bb305838_b.jpg

Sevan
afarm9.staticflickr.com_8403_8685528180_aa221d2d50_b.jpg afarm9.staticflickr.com_8263_8685528128_7b2ae9a5a0_b.jpg afarm9.staticflickr.com_8124_8684418917_e49e4e31e0_b.jpg afarm9.staticflickr.com_8402_8685547006_07aae2f9f7_b.jpg afarm9.staticflickr.com_8532_8685546980_c7c013134c_b.jpg afarm9.staticflickr.com_8406_8685561448_06bb305838_b.jpg
 
C

charles007

Well-Known Member
Full Member
Messages
3,897
Reaction score
453
Try changing the background also
 
stumpf

stumpf

Member
Full Member
Messages
408
Reaction score
15
Yes,please describe it...You can change the logo too?
 
Sevan P

Sevan P

Well-Known Member
Full Member
Messages
3,418
Reaction score
641
Yes,please describe it...You can change the logo too?

Shhhhhhh........ Lol, working on a tut guys. I'm at a walk MS event now. Stay tuned please.
 
Sevan P

Sevan P

Well-Known Member
Full Member
Messages
3,418
Reaction score
641
Ok guy lets get something clear here. IF YOU DO NOT FOLLOW THIS STEP BY STEP I am not held accountable for your lack of hacking skills LOL

Step one: Find the file.

Open up MyComputer: Navigate to this location. Local Disk (C:)> 3Shape Configuration> DentalSystem> Dental System Control Panel. Find the file called ShaderMaterials

Duplicate the file in the same folder as shown bellow. Simply right click on the ShaderMaterials file, copy, then paste it back in the same folder. It will be called ShaerMaterials_2. Simply rename it to ShaderMaterial Original.

Right click open with
afarm9.staticflickr.com_8121_8685261431_a6bd68b981_b.jpg

OR

Right Click Edit
View attachment afarm9.staticflickr.com_8264_8685261645_12ded35312_b.jpg

You should end up looking like this
afarm9.staticflickr.com_8534_8685261337_786af6c2a4_b.jpg

Step Two: Editing the file.
Right click on the ShaderMaterial and the ShaderMaterial Original file. and set them both side by side like so.
afarm9.staticflickr.com_8536_8685358423_c8c02479d8_b.jpg

I have the two files set side by side so it is easier to copy and paste the info across the two files.

Step Three: Define the abject color you want to change
afarm9.staticflickr.com_8534_8685260745_cebde2edfa_b.jpg

Step Four: Let look at the parameters up close

Antagonist:
<Property name="Name" value="Antagonist"/> <--------------------This is the object that get modified in this case it will be the Antagonist model
<Property name="Shader" value="Plastic"/> <-------------------- This is the shader it used, I realy don't know exactly what this is, I leave it alone.
<Property name="Shininess" value="0.018"/> <-------------------- Now this is the value that adjust how shine the material gets 0.00 is no shine and 0.5+ would be hella super blinding!
<Property name="TextureFile" value=""/> <-------------------- I have no clue leave it alone
<Vector name="AmbientColor" x="0.09411765" y="0.08627451" z="0.0627451"/> <-------------------- the next three lines are what equal the color of the material. I dont know this coding setup, so leave them alone.
<Vector name="DiffuseColor" x="0.75" y="0.63" z="0.43"/>
<Vector name="SpecularColor" x="0.235294119" y="0.219607845" z="0.192156866"/>

Step Five: What you need to copy over

Copy ONLY the highlighted area
afarm9.staticflickr.com_8541_8686380732_fe70956579_b.jpg

So when you copy the lines from the original file simply highligh the exact smae area on the new file, once highlighted simply paste the copied info over, it will replace everything that is highlighted on the new file with what you copied from the original files. Like so.
afarm9.staticflickr.com_8546_8686380550_943399c73f_h.jpg


Step Six: Finalizing

Now once you have copied and pasted the colors you like, simply hit ctsl+s for save for go up to file>Save. Open up 3Shape and model a case. Now you can leave 3Shape open and running, re-modify the ShaderMaterial file then simply model a case to see the changes.

Have fun and enjoy, if you run into a problem, simply delete the ShaderMaterial file copy the ShaderMaterial Original file and simply rename the file by deleting the Original out of the name and your back to stock.

Now as for the Logo deal of thing you would go to C:> Program File (x86)>3Shape>Dental Designer>Images>Logo and change out the Logo but it has to be no larger then the size of the current logo and simply modify the name of the current logo by adding a 1 at the end of the name. This will disable the file and rename the new file 3ShapeLogo and insert it in the folder and you should be set. If it errors saying could not load the image then it might be too big.

Sevan
afarm9.staticflickr.com_8121_8685261431_a6bd68b981_b.jpg afarm9.staticflickr.com_8534_8685261337_786af6c2a4_b.jpg afarm9.staticflickr.com_8536_8685358423_c8c02479d8_b.jpg afarm9.staticflickr.com_8534_8685260745_cebde2edfa_b.jpg afarm9.staticflickr.com_8541_8686380732_fe70956579_b.jpg afarm9.staticflickr.com_8546_8686380550_943399c73f_h.jpg
 
Car 54

Car 54

Well-Known Member
Donator
Full Member
Messages
8,020
Reaction score
1,122
Hi Sevan, I take it since these files are copied then modified, it doesn't have to be done in safe mode in order for these new commands to "stick", makes it a little more "easier". Some very impressive code modifying on your part...your skills are way beyond me :cool:
 
Sevan P

Sevan P

Well-Known Member
Full Member
Messages
3,418
Reaction score
641
Hi Sevan, I take it since these files are copied then modified, it doesn't have to be done in safe mode in order for these new commands to "stick", makes it a little more "easier". Some very impressive code modifying on your part...your skills are way beyond me :cool:

I just copied the file as a back up just in case I jack up the first one. That's why I said to copy for the original and not cut. MK safe mode, modify safe and see the results on the fly!
 
zero_zero

zero_zero

Well-Known Member
Full Member
Messages
6,303
Reaction score
1,397
Step Four: Let look at the parameters up close

Antagonist:
<Property name="Name" value="Antagonist"/> <--------------------This is the object that get modified in this case it will be the Antagonist model
<Property name="Shader" value="Plastic"/> <-------------------- This is the shader it used, I realy don't know exactly what this is, I leave it alone.
<Property name="Shininess" value="0.018"/> <-------------------- Now this is the value that adjust how shine the material gets 0.00 is no shine and 0.5+ would be hella super blinding!
<Property name="TextureFile" value=""/> <-------------------- I have no clue leave it alone
<Vector name="AmbientColor" x="0.09411765" y="0.08627451" z="0.0627451"/> <-------------------- the next three lines are what equal the color of the material. I dont know this coding setup, so leave them alone.
<Vector name="DiffuseColor" x="0.75" y="0.63" z="0.43"/>
<Vector name="SpecularColor" x="0.235294119" y="0.219607845" z="0.192156866"/>

Shader is responsible for rendering object effects on screen, those values used ( Plastic/Metal/Metalorg/Plaster etc. ) are preset to display certain material properties (i.e to look metallic).

Shininess is the amount of light reflected, can have any value between 0 and 1. Not sure how it works in 3shape, but is usually nonlinear on other 3D programs. ( i.e. there is a bigger visual difference on the lower end )

TextureFile, haven't played with this one yet. I guess it would indicate a texture to be applied to a given object. Looks like 3shape works with PNG image type texture files. This could lead to some interesting looking teeth for sure...

ai39.tinypic.com_2rnhdhi.jpg

Here you can read about color types in detail . The colors are coded: x=Red, y=Green, z=Blue
Each can have a value between 0 and 1, one or two decimals are plenty to define pretty much every color. The computer treats RGB values as a 0..255 range integer for each channel anyways. Those long numbers (x="0.235294119") are software generated, can be rounded up no problem (ex. x="0.24"). So to define a given color, open up the Paint program ( under the Accessories ),click "Edit colors". Pick a color and look up its red,green,blue values. Its between 0 and 255, that should be converted into a percentage ( 255 <=> 100%). Use the formula:
x= (1/255) * Red
y= (1/255) * Green
z= (1/255) * Blue

About changing the logo, some stuff could be swapped but the 3shape app is quite ana1 about its logo. It seems that is checking the checksum of the file on each load, if is something else it wont work. I'm not sure what type of checksum is implemented, if is CRC32 (that's the most popular) than I might be able to do some workaround so everybody could have his company logo in the lower right corner :cool: Will keep ya posted...
ai39.tinypic.com_2rnhdhi.jpg
 
Last edited:
Sevan P

Sevan P

Well-Known Member
Full Member
Messages
3,418
Reaction score
641
Shader is responsible for rendering object effects on screen, those values used ( Plastic/Metal/Metalorg/Plaster etc. ) are preset to display certain material properties (i.e to look metallic).

Shininess is the amount of light reflected, can have any value between 0 and 1. Not sure how it works in 3shape, but is usually nonlinear on other 3D programs. ( i.e. there is a bigger visual difference on the lower end )

TextureFile, haven't played with this one yet. I guess it would indicate a texture to be applied to a given object. Looks like 3shape works with PNG image type texture files. This could lead to some interesting looking teeth for sure...

ai39.tinypic.com_2rnhdhi.jpg

Here you can read about color types in detail . The colors are coded: x=Red, y=Green, z=Blue
Each can have a value between 0 and 1, one or two decimals are plenty to define pretty much every color. The computer treats RGB values as a 0..255 range integer for each channel anyways. Those long numbers (x="0.235294119") are software generated, can be rounded up no problem (ex. x="0.24"). So to define a given color, open up the Paint program ( under the Accessories ),click "Edit colors". Pick a color and look up its red,green,blue values. Its between 0 and 255, that should be converted into a percentage ( 255 <=> 100%). Use the formula:
x= (1/255) * Red
y= (1/255) * Green
z= (1/255) * Blue

About changing the logo, some stuff could be swapped but the 3shape app is quite ana1 about its logo. It seems that is checking the checksum of the file on each load, if is something else it wont work. I'm not sure what type of checksum is implemented, if is CRC32 (that's the most popular) than I might be able to do some workaround so everybody could have his company logo in the lower right corner :cool: Will keep ya posted...

And there you have it folks. I knew those x,y,z had to do with colors but not sure exactly how. Thats why I left them alone, I found the metal renders in a separate folder as well, and when opened there was the object but I had no clue what to do with them. but what about the ambient color, diffusecolor, specularcolor? all three values have different x,y,z ratings.

As for the Logo, I was only able to remove and replace the one in the DentalManager = c:programFiles(x86)>3Shape>DentalManager>Images>Logo - 3Shapelogo, I changes the original files name to 3ShapeLogo1 and add my new logo in the folder namded 3ShapeLogo. It is a PNG file: 290x79 pixels and a total size of 7.71kb. It works no problem, but the issue is on the one in c:programFiles(x86)>3Shape>DentalDesinger>Images>Logo - 3Shapelogo. This file even if changed and is the exact same size and dimensions 3Shape designer says error loading logo, please contact 3Shape. I have a Biomet 3i logo, I can get rid of it and have the default 3shape logo by simply adding a 1 to the end of the file name. Then I see only a 3Shape logo when designing. I am running 2013 2.8.8.2. Still gonna tweak with it, there has to be a way!

Sevan
ai39.tinypic.com_2rnhdhi.jpg
 
zero_zero

zero_zero

Well-Known Member
Full Member
Messages
6,303
Reaction score
1,397
Logo update --- this is harder than I thought, by far... :( After lots of tinkering I managed to change the colors, but not the mask.
Don't ask how, there's no easy way around.
ai40.tinypic.com_533fgi.jpg
This is what I accomplished last night, now I hit dead end... :smash: :noidea: Going back to square one...
ai40.tinypic.com_533fgi.jpg
 
Sevan P

Sevan P

Well-Known Member
Full Member
Messages
3,418
Reaction score
641
LOL, is that in the dental designer or dental manager? I can easily change the manager logo really easy but it is the designer logo that even when you get rid of the distributors logo ie: BioMet 3i, the 3shape default logo appears and I cant replace any of those even when the new file is the same size on all aspects.
 
zero_zero

zero_zero

Well-Known Member
Full Member
Messages
6,303
Reaction score
1,397
It's the dental designer, the logo file has the same resolution, the same header, and the pixel data has the same checksum as the original...

Sent from my SGH-I747M using Tapatalk 2
 
zero_zero

zero_zero

Well-Known Member
Full Member
Messages
6,303
Reaction score
1,397
Made a small breakthrough today, although in some other aspect, but at least I'm starting to understand how this system works... Managed to unlock a previously invisible menu in the scanning module :cool:

ai44.tinypic.com_29203th.jpg

Got no clue to what's what, I guess will have to play around and see.
ai44.tinypic.com_29203th.jpg
 
Sevan P

Sevan P

Well-Known Member
Full Member
Messages
3,418
Reaction score
641
Made a small breakthrough today, although in some other aspect, but at least I'm starting to understand how this system works... Managed to unlock a previously invisible menu in the scanning module :cool:

ai44.tinypic.com_29203th.jpg

Got no clue to what's what, I guess will have to play around and see.

How!?
ai44.tinypic.com_29203th.jpg
 
CoolHandLuke

CoolHandLuke

Idiot
Full Member
Messages
10,096
Solutions
1
Reaction score
1,411
great find Zero_Zero!! do you see any way to manually configure scan files to output as stl?
 
zero_zero

zero_zero

Well-Known Member
Full Member
Messages
6,303
Reaction score
1,397
great find Zero_Zero!! do you see any way to manually configure scan files to output as stl?

So far it looks like it's possible, if not as STL output then subsequent conversion (between proprietary formats) is more likely to be achievable. I just started to discover how things work ! The whole code is quite general, I suspect is being used for multiple scopes (at least certain modules are) since three shape is not strictly dental... To make things specialized for a given task or industry the code is driven by a bunch of config files (in XML format) and scripts in a Pascal (programming language) dialect. By modifying the config files as discovered by Sevan P, is possible to tweak the program within the limits of the general code. Certain things are hard coded to resist modifications (like the persistence of the original logo) but I believe we'll going to see some interesting mods in the near future... ;)
 

Similar threads

zero_zero
Replies
47
Views
7K
D
Ahmadkawi
Replies
28
Views
13K
Ahmadkawi
Ahmadkawi
TheLabGuy
Replies
107
Views
18K
rkm rdt
rkm rdt
Top Bottom