Search:

Type: Posts; User: const

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Oh I see, I went back to my initial idea and...

    Oh I see, I went back to my initial idea and after a bit of code juggling this was the best solution I come up with. I don't know why the PASS_THROUGH return, destroys the mouse events at the next...
  2. Hi again, cool script you make there. I have...

    Hi again, cool script you make there.

    I have started investigating a way to handle the mouse states (normally with previous/current states) but I soon realized that I could simply tie certain...
  3. The code was fine these were the only changes. ...

    The code was fine these were the only changes.


    # This should not be 3, otherwise it rotates super fast
    rotSpeed = 0.1
    # This means that when you release the key the object moves a bit
    # If...
  4. Replies
    4
    Views
    191

    I tried to call the operator twice using an...

    I tried to call the operator twice using an counter variable but it did not work. It looks like when the operator is executed the whole module (where it is written) is reset.

    So the solution is to...
  5. Unfortunately when an operator is "RUNNING_MODAL"...

    Unfortunately when an operator is "RUNNING_MODAL" that means that it's exclusive and single and "PASS_THROUGH" that is on background while allowing everything else work as by default.

    Two...
  6. Thread: Redraw the panel

    by const
    Replies
    3
    Views
    215

    I try to find a way to redraw the panel, now I...

    I try to find a way to redraw the panel, now I have managed to force an redraw by register/unregister the panel. Though if you have any better alternatives I am interested to know. :)



    import...
  7. Oh, my... My brain won't cooperate. It's this:...

    Oh, my... My brain won't cooperate.
    It's this: row.template_header() at line 39
  8. If you do not want any other Blender feature but...

    If you do not want any other Blender feature but you want to provide a highly customized user interface you can start modifying the core of the user interface itself.

    For example in this directory...
  9. Replies
    7
    Views
    380

    I made some corrections to the code, also now...

    I made some corrections to the code, also now it's far better and more simplified.


    Good idea to compare the lists directly, it seems that it works, however you won't need to use sel_objs at all...
  10. Replies
    23
    Views
    765

    I created this approach for my script (I don't...

    I created this approach for my script (I don't use bge but the idea is the same), I used classes instead because I wanted to access fields in a more meaningful way, plus that I wanted to provide...
  11. Replies
    0
    Views
    94

    Life of a window manager timer

    Having a look at the template "operator_modal_timer" I notice that the timer can be removed by the programmer when the operator is cancelled because there is this class method def cancel(self,...
  12. Replies
    7
    Views
    380

    This error means that you have not declared the...

    This error means that you have not declared the variable inside the local scope of the method.

    But the truth is that you want to use the variable outside the scope of the method.

    If you use...
  13. You can get into the advertising business by...

    You can get into the advertising business by starting with small shops and building experience gradually. Until you have a heavy portfolio to show, you will have to work almost free, with low prices...
  14. You say that you want to change the shortcut,...

    You say that you want to change the shortcut, right?
    360968
  15. You can do it like this: import bpy def...

    You can do it like this:


    import bpy

    def myprop_update(self, context):
    if self.myproperty == "Yo":
    self.myproperty += " man!"

    print("My property is:", self.myproperty)
  16. Replies
    18
    Views
    609

    This seems to be only for user interface...

    This seems to be only for user interface translations.
    http://wiki.blender.org/index.php/Doc:2.6/Manual/Interface/Internationalization
  17. Hi Ricky first of all ID name must have a Dot...

    Hi Ricky

    first of all ID name must have a Dot in name and no upper case letters !
    I know this that is true for operators, but is it for Nodes too? I have looked at other code repositories as well...
  18. Replies
    596
    Views
    48,589

    Lucke, what can I say? You rock!!! :)

    Lucke, what can I say? You rock!!! :)
  19. Replies
    6
    Views
    247

    Good one, I did not know that. :)

    Good one, I did not know that. :)
  20. Replies
    18
    Views
    609

    Have a look here: "Unicode Problems"...

    Have a look here: "Unicode Problems"
    http://www.blender.org/api/blender_python_api_2_59_0/info_gotcha.html
    "To simplify the problem for python integration and script authors we have decided all...
  21. Replies
    18
    Views
    609

    You can enter letters by adding a new "input...

    You can enter letters by adding a new "input language" in Windows, this way you can have two input language, one will be your default and the other a new one, you can switch between them with...
  22. Replies
    596
    Views
    48,589

    How the script node works? It seems that it runs...

    How the script node works? It seems that it runs only once when updated, but is possible to create input/output sockets with it?

    I tried to simplify the bouncy cube example a little bit, but I...
  23. Replies
    18
    Views
    609

    You can enter Greek characters at once, Blender...

    You can enter Greek characters at once, Blender supports utf-8 encoding.



    >>> C.selected_objects[0].name = 'Άλφα Βήτα'
    >>> C.selected_objects[0].name
    'Άλφα Βήτα'


    However if you want to...
  24. Replies
    6
    Views
    247

    import bpy class...

    import bpy

    class SimpleOperator(bpy.types.Operator):
    """This is where you can add the description."""
    bl_idname = "object.simple_operator"
    bl_label = "Simple Object Operator"

    ...
  25. Nodes - How to attach a property to a socket?

    Hi I want to attach a socket to a custom node and then map this socket to a property. For example when the Node is updated it will print the value of the property.

    However as I see here in this...
  26. Replies
    25
    Views
    2,018

    Hi, this is very interesting. It competes however...

    Hi, this is very interesting. It competes however a little bit with the Append/Link function, what I would call a "big win" is to iterate all of the items in the destination directory and be able to...
  27. Replies
    2
    Views
    247

    Great! Thanks.

    Great! Thanks.
  28. Replies
    2
    Views
    247

    Why normal pass appears strange?

    Hello, I want to render a normal pass of the scene using the Blender internal renderer.

    The image looks strange because the colors appear like a cross shaped.

    359185

    However I want to get a...
  29. Replies
    3
    Views
    593

    I have notified other fellow developers at IRC...

    I have notified other fellow developers at IRC and they might figure out what's up with this. We will wait a bit. :)
  30. Replies
    53
    Views
    9,326

    Amazing work, well done!

    Amazing work, well done!
  31. Replies
    11
    Views
    654

    Great! Looks nice and the concept is funny too,...

    Great! Looks nice and the concept is funny too, like a caricature.
  32. Replies
    5
    Views
    250

    The user would have to run operator normally,...

    The user would have to run operator normally, though if Blender do it automatically is just an additional benefit for me to to enhance usability.

    But apart from operator itself (say that I won't...
  33. Replies
    2
    Views
    172

    Thanks, I tested and it works.

    Thanks, I tested and it works.
  34. Replies
    5
    Views
    250

    Update I have found a working solution! ...

    Update I have found a working solution!

    CoDEmanX I have looked into your suggestion about using a scene handler and no more no less I went for Python's task scheduling instead since it looks more...
  35. Replies
    2
    Views
    172

    Location for storing configuration files?

    I would like to know what is the best location to save a configuration text file for an addon? Apart from setting a location hardcoded it would be better that an abstract or cross platform way would...
  36. Replies
    5
    Views
    250

    This thing with operators confuses me a bit. :) ...

    This thing with operators confuses me a bit. :)

    I was interested about doing some sort of operating system checks at this time, so I won't need any access to scene or bpy data or scene context.
    ...
  37. Replies
    5
    Views
    250

    Run op while addon registers.

    How can I run an operator right at the addon register function? The operator's context will be very generic not for scene or object, more like to window manager or at a similar level.

    There should...
  38. Replies
    3
    Views
    593

    It looks like it's a source code error, this will...

    It looks like it's a source code error, this will require a bit of fixing.


    source\blender\blenkernel\intern\autoexec.c:54:28: error: 'FNM_CASEFOLD' undeclared (first use in this function)

    ...
  39. In order to switch context you will have to run...

    In order to switch context you will have to run the operator manually.



    import bpy


    class SwitchContextsPanel(bpy.types.Panel):
    """Creates a Panel in the scene context of the properties...
  40. Replies
    6
    Views
    488

    I think that Blender tracking code won't change,...

    I think that Blender tracking code won't change, because it's a third party library (https://code.google.com/p/libmv/) and it's purpose is to focus specifically to video footage.

    However any other...
  41. Replies
    6
    Views
    488

    Based on what I understand there are 3 ways for...

    Based on what I understand there are 3 ways for camera tracking. 1 is 3D motion tracking which is better suited to track sensors in 3D space (position/rotation), 2. gyro tracking that is better for...
  42. Replies
    6
    Views
    4,234

    That's great, I have seen some users in GLSL...

    That's great, I have seen some users in GLSL generate solid geometry out of thin air (e.g. a sphere has a vector 3 attribute for position and a float attribute for size). In OpenGL this is a great...
  43. Replies
    2
    Views
    570

    In that gif image I see that the user calls the...

    In that gif image I see that the user calls the built in menu (that with space bar) where all operators are listed automatically.

    This is the "hardcore" way to invoke operators as long as you are...
  44. Replies
    2
    Views
    800

    There are two things that I like mostly in...

    There are two things that I like mostly in Blender, one thing is that there are no limitations to production sequence, that helps each one to develop his own unique working style and other thing is...
  45. Replies
    2
    Views
    336

    [SOLVED] I have not not followed the tutorial but this is...

    I have not not followed the tutorial but this is how it works for me:



    import bge


    # --------------------------
  46. Replies
    3
    Views
    296

    I post again with the solution. A correction,...

    I post again with the solution.

    A correction, in the previous post the console wrote that it could not find the "encoding" library, so that made me thing that it could not locate the libraries of...
  47. Replies
    3
    Views
    296

    Hi, thanks a lot for the response, I hope that we...

    Hi, thanks a lot for the response, I hope that we might find what is going on.

    I have installed Python in this location:
    C:\Programs\Python34\python.exe

    I don't know if this this important,...
  48. Replies
    3
    Views
    296

    How to use my own Python installation?

    I would like to install Python myself in a custom path and let Blender run that one instead of the embedded. Instead of using the default installation folder in C:\ I would like to use a different...
  49. Replies
    4
    Views
    767

    Amazing, looks almost like a real photo.

    Amazing, looks almost like a real photo.
  50. Replies
    11
    Views
    1,345

    Superb materials, the renders look awesome.

    Superb materials, the renders look awesome.
  51. Replies
    5
    Views
    318

    You can change the pose of a sculpt with a mesh...

    You can change the pose of a sculpt with a mesh deform modifier, you make a rough mesh that covers the volume of the model and move this instead of the actual high poly sculpt.

    I tried it now and...
  52. Thread: Flow Map Painter

    by const
    Replies
    3
    Views
    495

    Very cool, tried it now.

    Very cool, tried it now.
  53. Thankfully I found out how to do it. Just in case...

    Thankfully I found out how to do it. Just in case someone drops here by a search engine I would say to him/her that I found that I had to right click on the layer and go to "Properties" and then...
  54. Replies
    11
    Views
    626

    Yes it's impossible to hide, for example even...

    Yes it's impossible to hide, for example even properties of cycles appear on the properties panel but at least you can collapse the panel for not taking up space.
  55. Replies
    11
    Views
    626

    Oh, then it looks like this is OK because custom...

    Oh, then it looks like this is OK because custom properties indeed should appear in the properties window at the appropriate tab as well (i.e. Object tab). Users will recognize that and won't be...
  56. [Krita] - Can't make a background transparent

    I just started using Krita in hope of replacing Photoshop. I have started converting some PSD projects into it but now I face a problem.

    I have a white layer with sketch lines, that I want to make...
  57. Replies
    2
    Views
    565

    Wow, this makes it interesting choice.

    Wow, this makes it interesting choice.
  58. Replies
    11
    Views
    626

    Three times? This might be not good. This is...

    Three times? This might be not good.
    This is what it looks like in mine.
    347936

    I wonder what would it be... Any ideas?
  59. Replies
    8
    Views
    429

    I have managed to figure it out, it took me quite...

    I have managed to figure it out, it took me quite a while but it was a good exercise. :)



    import bpy


    language = {
    "1" : {
    "hello" : "Woof Hello",
  60. Replies
    11
    Views
    626

    The script looks fine, I see though that above...

    The script looks fine, I see though that above that "TestPan" a new panel appears, this is the "custom properties" panel of Blender and it's not a problem don't worry about it because users will...
  61. Replies
    1
    Views
    681

    Perhaps you can use CTypes. import ctypes...

    Perhaps you can use CTypes.



    import ctypes
    msg = ctypes.windll.user32.MessageBoxW
    msg(None, "Hello", "Hello From Blender", 0)


    This code uses DLL only, but you can instantiate C...
  62. Replies
    11
    Views
    1,579

    This is great, good work. If you have any updates...

    This is great, good work. If you have any updates in the future please post here so we can know.
  63. Replies
    0
    Views
    205

    How to modify the BL UI startup?

    I want to modify the __init__.py located at Blender\2.72\scripts\startup\bl_ui so it can load some scripts of mine. I would like to add my script in this list "_modules" but I could not figure out...
  64. Replies
    2
    Views
    922

    This would work, also give you an idea about how...

    This would work, also give you an idea about how to continue it.



    import bpy
    import mathutils
    import bpy.utils


    class OffsetPositionCallMenu(bpy.types.Operator):
  65. Replies
    3
    Views
    670

    Yes, I think that "real internships" would be a...

    Yes, I think that "real internships" would be a great benefit for the Institute because it the GSOC is extremely short, while a good internship can last even more (6 months?).

    There might be lots...
  66. Replies
    11
    Views
    1,041

    Yes, I see that difference between SVM and OSL,...

    Yes, I see that difference between SVM and OSL, it looks like SVM is the core of Cycles and OSL a superset....
  67. Replies
    11
    Views
    1,041

    Hi Ninja, thanks for dropping by. In the...

    Hi Ninja, thanks for dropping by. In the beginning I thought that it could be done with OSL only, but now I realize that it could be done with Python as well. It seems that Python is more proper way...
  68. Replies
    11
    Views
    1,041

    Hi thanks for the feedback, yes indeed the shader...

    Hi thanks for the feedback, yes indeed the shader is very simple so you might come up with something that's exactly what you want.
  69. Replies
    568
    Views
    293,802

    Hello, please have a look at my boolean node it...

    Hello, please have a look at my boolean node it will help you create multipurpose materials in no time. :)
    http://blenderartists.org/forum/showthread.php?354949-Cycles-Boolean-Node-
  70. Replies
    1
    Views
    697

    These processors must hit the market for good and...

    These processors must hit the market for good and the the operating systems as well must be updated. It's a long road ahead so do not wait for it soon. However acquiring very expensive CPU with a...
  71. Thread: Blender Toolkit!

    by const
    Replies
    4
    Views
    1,038

    There are plenty of OpenGL based GUI libraries...

    There are plenty of OpenGL based GUI libraries that will give you an idea....
  72. Replies
    8
    Views
    846

    I have created it, take a look here....

    I have created it, take a look here.
    http://blenderartists.org/forum/showthread.php?354949-Cycles-Boolean-Node-(Not-Shader)&p=2766500&posted=1#post2766500
  73. Replies
    11
    Views
    1,041

    If then else example 345306 Or, Not example...

    If then else example
    345306

    Or, Not example
    345307

    Less than, Greater than example
    345308
  74. Replies
    11
    Views
    1,041

    Cycles Boolean Node (Not Shader)

    Hello, sometimes you might feel that your materials should be more clever, to have them "make decisions" based on various circumstances and redirect flow in according to your needs.


    You might...
  75. Replies
    8
    Views
    846

    Yes I have heard that Blender developers want to...

    Yes I have heard that Blender developers want to make modifiers node based, so in the future we will see more updates on this subject.
  76. Replies
    8
    Views
    846

    Good to post your response here to let this...

    Good to post your response here to let this thread live more.

    Yep, boolean node is very useful to have, in the beginning I used nodes only for simply juggling values to create materials, but now...
  77. Blender has Metaballs that somehow resembles...

    Blender has Metaballs that somehow resembles voxels (like in minecraft where the world is defined as points, but geometry is generated on the fly). Metaballs are such objects, that are represented in...
  78. Replies
    8
    Views
    846

    Can I make a boolean node?

    1. I would like to know if I can make a custom node that will act as a boolean node.

    It will accept two "input values" and two "data values" but based on a specific condition (e.g. a < b) it will...
  79. Replies
    57
    Views
    12,494

    Some problems I noticed in the scene: 1. The...

    Some problems I noticed in the scene:
    1. The flames in the foreground should be motion tracked because when the camera is zooming they seem like floating in a user interface.
    2. The metal surface...
  80. Replies
    55
    Views
    5,493

    Nice, I do a version of Samus as well with the...

    Nice, I do a version of Samus as well with the zero suit but my style is anime due to simplicity.

    Your work looks very good, the head is great and the body as well. It looks like you almost...
  81. Thread: Anime realism

    by const
    Replies
    36
    Views
    4,065

    Hi I am an anime enthusiast also. I have this...

    Hi I am an anime enthusiast also.

    I have this suggestion to improve your works. The mood of the scene is easier be done at post processing, having normal colors on the renderings will make much...
  82. Replies
    1
    Views
    863

    Wow, awesome! Thanks for posting. :)

    Wow, awesome! Thanks for posting. :)
  83. Replies
    71
    Views
    3,955

    Real case scenarios: If you want to buy 50...

    Real case scenarios:

    If you want to buy 50 licences that cost (e.g) 1000$ each, you pay only 50.000$.

    Now, if you rent 50 licences for 10 months with only (e.g.) 60 $ you pay only:
    50 * 10 *...
  84. Replies
    18
    Views
    2,208

    Yeah, I remember when I watched Euclideon's tech...

    Yeah, I remember when I watched Euclideon's tech demo 3 years ago I was very impressed, no offense, but they should have released something already, so people can download and play with the...
  85. Hi I found this thread on search engine, here's...

    Hi I found this thread on search engine, here's an alternative method. I use Object Index instead of material index. To use Object Index go to Properties Window > Object > Relations tab > Pass Index,...
  86. Wow amazing! This was impossible to spot, thanks.

    Wow amazing! This was impossible to spot, thanks.
  87. Cycles background texture not shown on viewport.

    I try to set a background environment texture with the Cycles rendering engine for the world material. Everything works fine, the only problem is that I can't see the texture on the actual viewport....
  88. Replies
    7
    Views
    895

    Thanks for the responses, they were very helpful....

    Thanks for the responses, they were very helpful. After using "Auto Depth" for lots of days, I am either positive or negative. For example when you have density in your scene and things get in your...
  89. Replies
    7
    Views
    895

    Struggling with viewport navigation?

    I found today something very cool in Blender and I would like to share it. I think is very good to promote stuff like this in the community, so they become known to more users.

    My rant is that...
  90. Replies
    39
    Views
    1,695

    I consider that Blender Institute must establish...

    I consider that Blender Institute must establish a dual licence model.
    Free for educational purposes and commercial for commercial.
    This is the best possible option to let a healthy development...
  91. Replies
    974
    Views
    68,069

    Today I found the patch, it's officially...

    Today I found the patch, it's officially abandoned.
    https://developer.blender.org/D458

    So this tiny patch? Is responsible for destroying Blender?

    That's very weird mostly because it's like...
  92. Replies
    974
    Views
    68,069

    I feel that this patch turned into a sinking...

    I feel that this patch turned into a sinking ship... If there are any last chances to save the ship then there would be two options.

    Option A:
    Color the layers, not the objects. This way Blender...
  93. I don't think that Autodesk will target game...

    I don't think that Autodesk will target game engines specifically, despite how popular are games, they have many other alternatives.

    One very hot topic is real time movie making, currently Unreal...
  94. Replies
    5
    Views
    485

    I have prepared a special image so it can be more...

    I have prepared a special image so it can be more clear on what I suggest.
    312160

    As you can see, this is the common way of adding images to viewport but with the additional feature that user...
  95. Replies
    5
    Views
    485

    3D Viewport user persp background image

    Hi there fellow Blender users, I want to place an image on the background and be active in user perspective mode, currently only orthos and Camera are supported.

    This is a good way to drop a bunch...
  96. Thread: Pin-up girl

    by const
    Replies
    14
    Views
    1,959

    Very cool work! You are extremely talented and...

    Very cool work! You are extremely talented and dedicated for your age, it looks like within 2 years you will be working in the 3D graphics world. :)
  97. Replies
    5
    Views
    334

    The best option is to rotate the view with middle...

    The best option is to rotate the view with middle mouse and while in an preferable angle press the Alt keyboard button to snap view into a location.

    I remember that this bothered me quite a while...
  98. Replies
    4
    Views
    302

    Is it a good idea to export settings on a file?...

    Is it a good idea to export settings on a file? For example in this script Blender\2.70\scripts\addons\add_curve_sapling there is an operator called ExportData that writes to a file.

    Otherwise...
  99. Replies
    6
    Views
    304

    Having a look in it I guess that this is the most...

    Having a look in it I guess that this is the most common way to do it, putting the properties in a common datatype (e.g. Scene) that can be reached from the context struct.



    import bpy

    ...
  100. Replies
    6
    Views
    304

    Hello, thanks for responding. Based on your...

    Hello, thanks for responding.

    Based on your example, here is a modified version close to what I try to do.




    import bpy
Results 1 to 100 of 432
Page 1 of 5 1 2 3 4