13 threads found!
Thread | Author | Replies | Views | Last Reply |
---|---|---|---|---|
Bastep | 10 | 466 | ||
Bastep | 3 | 244 | ||
Bastep | 14 | 741 | ||
Bastep | 5 | 288 | ||
Bastep | 3 | 563 | ||
Bastep | 3 | 204 | ||
Bastep | 9 | 489 | ||
Bastep | 2 | 265 | ||
Bastep | 3 | 133 | ||
Bastep | 2 | 232 | ||
Bastep | 1 | 652 | ||
Bastep | 6 | 262 | ||
Bastep | 16 | 660 |
100 comments found!
odf posted at 6:41 PM Sun, 24 December 2023 - #4479546
That's really good.Here's a vaguely seasonal color variant. Merry solstice-adjacent festivity of your choice, everyone!
Afrodite-Ohki posted at 3:16 PM Mon, 25 December 2023 - #4479577
I use procedural textures mainly for makeup and lip colors. I can't really notice a difference in render times compared to image textures. But since I almost exclusively use Cycles nodes, the messed up working window is not really a pleasure.That's amazing for procedural! Does it take too long to render?
Thread: Python Print Statement (and error messages) Stop Showing Up? | Forum: Poser Python Scripting
Return a string version of object. If object is not
provided, returns the empty string. Otherwise, the behavior of str()
depends on whether encoding or errors is given, as follows.
If neither encoding nor errors is given, str(object)
returns
type(object).__str__(object)
,
which is the “informal” or nicely
printable string representation of object. For string objects, this is
the string itself. If object does not have a __str__()
method, then str()
falls back to returning
repr(object)
.
If at least one of encoding or errors is given, object should be a
bytes-like object (e.g. bytes
or bytearray
). In
this case, if object is a bytes
(or bytearray
) object,
then str(bytes, encoding, errors)
is equivalent to
bytes.decode(encoding, errors)
. Otherwise, the bytes
object underlying the buffer object is obtained before calling
bytes.decode()
. See Binary Sequence Types — bytes, bytearray, memoryview and
Buffer Protocol for information on buffer objects.
Passing a bytes
object to str()
without the encoding
or errors arguments falls under the first case of returning the informal
string representation (see also the -b
command-line option to
Python). For example:
str(b'Zoot!') "b'Zoot!'"
For more information on the str
class and its methods, see
Text Sequence Type — str and the String Methods section below. To output
formatted strings, see the f-strings and Format String Syntax
sections. In addition, see the Text Processing Services section.
Thread: How to access/change emissionstrength? | Forum: Poser Python Scripting
Hello!
Here is a simple example for accessing node values:
The Material:
The Code:
#----------------------------------------------------------------------------------
# DimEmission.py
# Makes the Emmision light brighter or darker
#
# Date: 23.12.2023 09:24:41
# Letzte Aenderung: 23.12.2023 09:24:43
# Author: Bastep
# Contact: via Renderocity
#
# This is free to use.
#----------------------------------------------------------------------------------
import poser
STRENGTH = 1
def main():
scene = poser.Scene()
try:
actor = scene.Actor('Lightball1')
if actor:
try:
material = actor.Material('Preview')
if material:
shadertree = material.ShaderTree()
for node in shadertree.Nodes():
if 'My_Emission' in node.Name():
input = node.Input(STRENGTH)
lightstrenth = input.Value()
input.SetFloat(lightstrenth*0.5)
shadertree.UpdatePreview()
except:
print('Poser Error: Named material could not be found')
except:
print('Poser Error: Named actor could not be found')
if __name__ == "__main__":
main()
Thread: Full function Genitalia for La Femme 2 coming soon | Forum: La Femme 2
Interim question: As I have largely taught myself English, I am very careful with license issues. I have made a morphinjection for LaFemme2 Lite, LaFemme2 Pro and LaFemme2 Pro SR1 that adapts to the Victoria 4 head so that the V4 hair can be used more easily. The basis for the INJ is the Figure LaFemme2 Pro SR1. I wanted to make this injection available for download in the Freebie Sector. Can I do this, or do I have to get permission from the copyright holder first?
Kind regards
Bastep
Thread: Starting the Mac OS finder with python | Forum: Poser Python Scripting
Thanks for the effort. I will integrate this into my Python code and then hope that it works as I imagine.OK. Found it. I remembered working with Andy (structure) on this prior to his tragic passing.
if sys.platform == "win32":
os.startfile( helpFile )
else:
subprocess.call( [ "open", helpFile ] )The OS test you have is fine, so that can stay.
The next question becomes "Do you care about blocking?"
I.e. the "open" call will basically just tell macOS Finder to open the file with whatever it normally would.If you need Poser Python to wait for that app (whichever one opens the file) to quit, then a "-W" parameter after the "open" should work.
It all gets quite a bit harder if you need to test for the file being closed, rather than the app quitting.
Hope this helps. :-D
Thread: Poser feature dev & improvement wishlist | Forum: Poser - OFFICIAL
Thread: How do you build an REM injection? | Forum: Poser - OFFICIAL
You can alse add beneathe the removeFullBodyMorph Kim a line to delete the dial too..
deleteFullBodyMorph Kim
This cleans it from you parameters pallete.
Hello!
The command 'removeFullBodyMorph Kim' is completely sufficient. Executed and everything is gone.
The deleteFullBodyMorph command is an example of "many roads lead to Rome" in Poser.
What I really miss is a documentation of the structure of the different Poser file types.
Greetings and have a nice Sunday
Thread: Example program: Figure hierarchy and recursion for beginners | Forum: Poser Python Scripting
an0malaus posted at 8:11 PM Sat, 25 November 2023 - #4478167
Nice work @Bastep.
One observation is that given how long Poser's Python API has been developing, certain methods tended to vary in what returns they would give if they normally returned a list, but the list had no content. Actor.Children() is well behaved, in that it actually returns an empty list, making it safe to iterate over in a for loop.
Other methods tended to return None, which unhelpfully breaks for loops as it cannot be iterated. A quick hack to overcome this is:
for iter in ReturnsNoneIfListEmptyMethod() or []:
...That way there's always something which can be iterated over or skipped if the list is empty and the expression/method returns None.
Good morning! @an0malaus, thanks for the tip. Yes, the Poser API has its pitfalls. That's why I work extensively with the try/except statements.This was not necessary in the example program. Because, as you said, the Actor.Children() method does exactly what it should.
Have a nice Sunday ...
Thread: Example program: Figure hierarchy and recursion for beginners | Forum: Poser Python Scripting
Addendum:
Installation in Poser via <File><Install from Zip Archive>.
You will then find the program under <Scripts><Poser 13 Content><Bastep><Examples>.
If you have installed the program in another runtime, use the name of this runtime. <Scripts><Any Runtime><Bastep><Examples>
Thread: Show your Poser 13 renders! | Forum: Poser 13
RAMWorks posted at 11:14 AM Fri, 22 September 2023 - #4475029
Really gorgeous and classy! Love to know your lighting setup for this render. Care to share?Thank you
Not sure if my response deserves the Nudity tag...From the main camera, used to render, it looks like this:
I have used three cylinders, strategically placed:
Each cylinder uses a material described by... I don't remember who, but it was here. This setup lets you control:
- the temperature of the light
- power
- and even the distance
Here's what I used for the big cylinder in front:
Hello Y-Phil. I have finally tried your light shader. I am totally thrilled with it. Super work.
Greetings
Thread: Show your Poser 13 renders! | Forum: Poser 13
Here are five render impressions with Nova from Vyusur.
No PostFX on all 5.
Own skin shader with the original skins from Vyusur. Unfortunately, Vyusur didn't include any normal maps for Nova, so the bump maps had to do their best.
Some of the skins didn't quite fit and I had to make some improvements, but the beautiful Nova can be forgiven, she can't help it...
Very nice!
Have a nice day
Thread: GetIdType(...) | Forum: Poser Python Scripting
Hello, very nice to see more entries in the list. As I see it, there are no poser constants for the GetIdType method in the API.
I would like to make one comment. Number 7 is not just an Actor, it is a BodyActor. This could otherwise lead to confusion.
Kind regards
Thread: Show your Poser 13 renders! | Forum: Poser 13
Thread: Getting/Setting Intensity for a light? | Forum: Poser Python Scripting
Its simple:
#----------------------------------------------------------------------------------
# DimLights.py
# Makes the light brighter or darker
#
# Date: 13.11.2023 19:31:50
# Letzte Aenderung: 13.11.2023 19:31:52
# Author: Bastep
# Contact: via Renderocity
#
# This is free to use.
#----------------------------------------------------------------------------------
import poser
def main():
light = poser.Scene().CurrentActor() # Retrieves the selected Actor from the scene.
if light.IsLight: # Is the Actor a light?
intensity = light.Parameter('Intensity') # Retrieves the intensity parameter from the parameter list
print(intensity.Value()) # Shows the current value
intensity.SetValue(0.5) # Assigns the new value. The values refer to 1. 1 = 100% intensity
print(intensity.Value()) # Shows the new value
if __name__ == "__main__":
main()
Thread: How do you build an REM injection? | Forum: Poser - OFFICIAL
I don't think any sites that explained the file internals are still up. If there are, I don't know where that would be.
I have this problem when I upload source code to the Poser Python forum. I think this is due to the forum software.
But thanks for the information on the Poser version, and applying morphs automatically.
It is unfortunate that there is no information from Bondware about the file internals. That would be a real added value, especially if you are willing to create content.
Good night
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Thread: Dynamic Clothes WIPs for La Femme 2 | Forum: La Femme 2