Unleash the power of 3D
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14471 Likes: 0
    threedslider
    Participant
    • Posts 12

    Hi all,

    Draise let me to know for Bforartists, hope you can help me for inner work from Blender’s source code ? I am more interested in UI to make look like Softimage XSI and tools as similar too but of course to keep all tools from Blender.

    So I propose you help me then i can help you for Bforartists if you want :)

    From now I learn C++, C, Python, i know by these programming but i need more deep as algorithm, 3D, animation, Fluid simulation, etc…

    Hope we understand it and it can each other to help to us.

    Happy coding !

    #19802 Likes: 0
    Reiner
    Participant
    • Posts 4699

    Welcome threedslider :)

    Every help is of course welcome. I can set your account to developer if you want.

    I am not so much interested in making Bforartists look like anything existing. That would be too much contradicting UI solutions anyways. What i am interested in is to improve the UI and the usability in general. Step by step. And it must be manageable.

    But every idea is welcome. Please make a tracker entry when you find something to improve :)

    Note that the development at the master is currently stopped until mid of august. That’s when Blender 2.8 will arrive, and thats’ when we decide how to proceed. Makes no sense to do every task twice. But you can always make a branch and toy around with some first changes. Just tell me if you want to, and i’ll invite you to the repository so that you can create your branch.

    When you have a question, just ask. I do my best to help you then :)

    Kind regards

    Reiner

    #19805 Likes: 0
    threedslider
    Participant
    • Posts 12

    Thank you Reiner, I am not ready to be developer cause I still am learning in programming but i may ask you, how make you for icons as improvement in Bforartists? Have you tips to give me on how to make UI in Softimage ? If later i am developer which part most you need in Bforartists as feature ?

    Any there are developer can explain me how to draw UI in OpenGL ?

    Thanks and best regards.

    #19808 Likes: 0
    Reiner
    Participant
    • Posts 4699

    Okay, then i’ll wait until i set your account to developer. You can at any point ask me to do so.

    You never stop learning to program. In fact i still learn with every little piece of code i write :)

    , how make you for icons as improvement in Bforartists?

    Sorry? Could you clarify this question a bit more? What exactly do you want to know? 

     

    Have you tips to give me on how to make UI in Softimage ?

     IN Softimage? I have no idea how the Softimage UI is made. Or in Blender/Bforartists LIKE in Softimage. Phew, this question is too general, sorry ^^

    The first look is to find out how the UI elements are handled in Blender. You can do this by either have a look into the code examples that comes with Blender and Bforartists. And you can do this by having a look under the hood of the UI code. Most of it is located in the source code in releasescriptsstartupbl_ui .

    Or in the release version in 2.79scriptsstartupbl_ui

    There was also a Blender WIKI page that explained what UI assets exists, and how to implement and use them. But it seems that they have closed the WIKI for 2.8 …

    If later i am developer which part most you need in Bforartists as feature ?

    Manual writer! 

    No, seriously, it all depends of what tasks we have in the tracker. The tracker is currently pretty empty. Bforartists 1.0 is finished, this development cycle is fulfilled. We will fill it with new tasks when Blender 2.8 is out. And then you can grab a task that you are interested in, and fix it. You can also post ideas and suggestions in the tracker.

    Any there are developer can explain me how to draw UI in OpenGL ?

    Not me, sorry. I never dived into this part. I have mainly used the UI stuff that the Blender developers have already implemented.

    I remember Campbell Barton made a video for Blender a long time ago, where he uses OpenGL to draw a texture in the Blender UI. But i cannot find it at the moment. 

    #19809 Likes: 0
    threedslider
    Participant
    • Posts 12

    Sorry? Could you clarify this question a bit more? What exactly do you want to know? 

    I want to know how you make icon in Bforartists as position, draw icon in UI, etc… ?

    You never stop learning to program. In fact i still learn with every little piece of code i write Smile

    True but I need a lot of time before to be developer and ready to help you :)

    Phew, this question is too general, sorry I-m so happy

    Sorry, yeah this question is short and it would mean inaccuracy and large meaning…  I will try better.

     IN Softimage? I have no idea how the Softimage UI is made. Or in Blender/Bforartists LIKE in Softimage.

    I mean in Blender look like Softimage.

    Manual writer! 

    No, seriously, it all depends of what tasks we have in the tracker. The tracker is currently pretty empty. Bforartists 1.0 is finished, this development cycle is fulfilled. We will fill it with new tasks when Blender 2.8 is out. And then you can grab a task that you are interested in, and fix it. You can also post ideas and suggestions in the tracker.

    Where i can find Tracker ?

    Not me, sorry. I never dived into this part. I have mainly used the UI stuff that the Blender developers have already implemented.

    Ok thanks.

    #19810 Likes: 0
    Reiner
    Participant
    • Posts 4699

    I want to know how you make icon in Bforartists as position, draw icon in UI, etc… ?

    Icons are located in  releasedatafiles in the blender_icons.svg. The list of available icons is stored in sourceblendereditorsinclude in the UI_icons.h file. That’s where you define them.

    To add new icons, or to apply changes or modifications at the icons, you have to run the blender_icons_update.py file from the console after you have done the changes in the files. This creates and/or updates the dat files in the  blender_icons16 and blender_icons32 folders. This dat files is what gets compiled into the binary then.

    And then you simply have to compile Blender / Bforartists :)

    To use the icons in the UI you need one of its elements. A button for example. It has already a place in the tag where you can display the icon then.

    For example, this tag here adds a button in the tool shelf with the Mirror icon.

    col.operator(“transform.mirror”, icon=’TRANSFORM_MIRROR’, text=”Mirror”)

    I mean in Blender look like Softimage.

    You simply can’t do that :)

    You would need to rewrite Blender/Bforartists to implement another UI solution. And then you would loose all the addons. Which is fatal, since even the renderer Cycles is an addon. What can be done is some modifications, in the bounds of the Blender UI solution.

    Where i can find Tracker ?

    At Github :)

     https://github.com/Bforartists/Bforartists/issues

    #19853 Likes: 0
    threedslider
    Participant
    • Posts 12

    Sorry to reply as late, thank you for your answer

    You simply can’t do that Smile

    You would need to rewrite Blender/Bforartists to implement another UI solution. And then you would loose all the addons. Which is fatal, since even the renderer Cycles is an addon. What can be done is some modifications, in the bounds of the Blender UI solution.

    i think it is possible to adapt to work as interface but of course it needs to change to take this consideration from UI. Think BI on how to integrate in.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.