Discussion related to the LuxCore functionality, implementations and API.
			
		
		
			- 
				
								Dade							
- Developer
  
- Posts: 5675
- Joined: Mon Dec 04, 2017 8:36 pm
- Location: Italy
						
					
													
							
						
									
						Post
					
								by Dade » 
			
			
			
			
			
			Added the support for TwoSided material:
Code: Select all
##
scene.materials.mat_2s_a.type = matte
scene.materials.mat_2s_a.kd = 0.7 0.3 0.0
scene.materials.mat_2s_a.bumptex = scaled_bumpmap
##
scene.materials.mat_2s_b.type = glossy2
scene.materials.mat_2s_b.kd = 0.5 0.0 0.0
scene.materials.mat_2s_b.ks = 0.5 0.5 0.5
scene.materials.mat_2s_b.uroughness = 0.02
scene.materials.mat_2s_b.vroughness = 0.02
##
scene.materials.mat_2s.type = twosided
scene.materials.mat_2s.frontmaterial = mat_2s_b
scene.materials.mat_2s.backmaterial = mat_2s_a
 
		 
				
		
		 
	 
				
		
		
			- 
				
								Sharlybg							
- Donor
  
- Posts: 3104
- Joined: Mon Dec 04, 2017 10:11 pm
- Location: Ivory Coast
						
					
													
							
						
									
						Post
					
								by Sharlybg » 
			
			
			
			
			
			That is a nice add.
Now tree leaves and Books page can be done efficiently without the need for Solidify modifier.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			 CEROE
- Posts: 54
- Joined: Wed Jan 09, 2019 11:34 pm
						
					
													
							
						
									
						Post
					
								by CEROE » 
			
			
			
			
			
			Getting "Error: | Unknown material type: twosided"
Testing with newest daily build.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			- 
				
								B.Y.O.B.							
- Developer
  
- Posts: 4146
- Joined: Mon Dec 04, 2017 10:08 pm
- Location: Germany
- 
				Contact:
				
			
						
					
													
							
						
									
						Post
					
								by B.Y.O.B. » 
			
			
			
			
			
			It's not yet merged into master.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			 CEROE
- Posts: 54
- Joined: Wed Jan 09, 2019 11:34 pm
						
					
													
							
						
									
						Post
					
								by CEROE » 
			
			
			
			
			
			Ok, I must be patient. This is an exciting new feature, so please pardon me.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			- 
				
								Dade							
- Developer
  
- Posts: 5675
- Joined: Mon Dec 04, 2017 8:36 pm
- Location: Italy
						
					
													
							
						
									
						Post
					
								by Dade » 
			
			
			
			
			
			B.Y.O.B. wrote: Wed Sep 16, 2020 6:51 pm
It's not yet merged into master.
 
Do you mean the LuxCore branch ? I merged the branch ... or at least I assume I did  

 
		 
				
		
		 
	 
				
		
		
			- 
				
								Dade							
- Developer
  
- Posts: 5675
- Joined: Mon Dec 04, 2017 8:36 pm
- Location: Italy
						
					
													
							
						
									
						Post
					
								by Dade » 
			
			
			
			
			
			Dade wrote: Wed Sep 16, 2020 8:24 pm
B.Y.O.B. wrote: Wed Sep 16, 2020 6:51 pm
It's not yet merged into master.
 
Do you mean the LuxCore branch ? I merged the branch ... or at least I assume I did  
 
 
I did but apparently I didn't pushed the changes to GitHub. Done.
 
		 
				
		
		 
	 
				
		
		
			- 
				
																			 CEROE
- Posts: 54
- Joined: Wed Jan 09, 2019 11:34 pm
						
					
													
							
						
									
						Post
					
								by CEROE » 
			
			
			
			
			
			It works! Thank you!!!
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			 CEROE
- Posts: 54
- Joined: Wed Jan 09, 2019 11:34 pm
						
					
													
							
						
									
						Post
					
								by CEROE » 
			
			
			
			
			
			There are a couple issues:
The backside seems to be extra glossy. I have tried the same settings for each, and the backside is different.
When mirroring a twig the faces are also switching.
			
							
					- 
						Attachments
					
- 
			
				
			