Skip Navigation
How does generative AI create convincing lighting in images?

I believe lighting plays a very important part in making a scene realistic when it comes to creating one artificially, like in 3D modelling. That is why I also think the lighting of these AI generated images is the prime source of what impresses people about these images since no matter how unrealistic or distorted the subject is, the lighting makes it look like a natural part of the background. This is clearly different from photos like from poorly Photoshopped ones where the subject feels deliberately inserted into the scene from a cutout.

I am interested to understand how LLMs understand the context of the lighting when creating images. Do they make use of samples which happen to have the exact same lighting positions or do they add the lighting as an overlay instead? Also, why is it that lighting doesn't look convincing in some cases like having multiple subjects together etc.?

4
Do you recognise any usernames on Lemmy?
  • Is it good to be engaged enough to be recognised in Lemmy? I don't know if the big players around here are just spending their entire day on Lemmy as many people on Redditors do. There is a small part of me that too wishes to be recognized as an active member in this community but I don't want it at the expense of my real life.

  • Had to learn it the hard way too many times

    cross-posted from: https://lemm.ee/post/34818737

    > Had to learn it the hard way too many times

    1
    So would he call this a win or a loss?

    Context: Newton personally believed in the concept of absolute space since it reinforced the idea of an absolute God, but the entire premise was proven false by what we know as 'relativity of motion' which makes use of Newton's laws of motion.

    Excerpts from 'A Brief History of Time' by Stephen Hawking:

    > "... Aristotle believed in a preferred state of rest, which any body would take up if it were not driven by some force or impulse. In particular, he thought that the earth was at rest. But it follows from Newton's laws that there is no unique standard of rest."

    > "Newton was very worried by this lack of absolute position, or absolute space, as it was called, because it did not accord with his idea of an absolute God. In fact, he refused to accept lack of absolute space, even though it was implied by his laws."

    15
    What happened with Starfield?

    I was only caught up with the news to its release date and didnt bother to check on it since then. I don't plan to play it, but rather to check on the headlines and reviews surrounding it since I've heard some negative comments about the game. I know about the recent trends of the gaming industry but I was kinda hoping for Starfield to be better since I really dig the concept of open world and space exploration games.

    10
    Tis the season
  • Been in this situation countless times. Everytime this happens I promise myself I will be grateful and enjoy the ability to breathe through both of my nostrils once it happens and yet I forget about it the next day

  • What I thought some abbreviations/emoticons meant vs what they actually meant

    Didnt really pay attention to context or spelling, more like reading through words derived from a foreign language

    43
    What is the best way to store data for exceptional cases among nested objects in arrays in JSON?
  • Though I know very little of enum and never used it before, I think this is what I needed. I couldnt imagine there would exist a type exactly for this purpose since I could consider adding or deprecating data later in time. I would need time understanding how I need to restructure the current JSON object to accomodate enums, but I think it will be worth it. Thanks for you time!

  • What is the best way to store data for exceptional cases among nested objects in arrays in JSON?
  • Ive heard about enums before, but I never really paid attention to them since I never got a need to use them in any of my projects till now. I think this is exactly what I need. Ill research more on it

    Thank you so much for your help

  • What is the best way to store data for exceptional cases among nested objects in arrays in JSON?

    I have a JSON object with a huge array of nested objects. Let us assume it consists of records of license plates for vehicles. It would contain necessary fields like licenseID, issuingState, dateOfIssue, driverID etc.

    What I am having problem with is how I should store data that is only used for exceptional cases, like a field for representing if the license plate is for foreign embassies (isEmbassyOwned) or if it is owned by a government entity (isGovernmentOwned) or if it is a learner license (isLearner) etc alongside fields with data types other than Boolean which would be empty or 0 and likewise when there is no information on that field. Let it be known that these exceptional scenarios would occur in less than 10% of total object instances.

    I am facing confusion as to what format would be best for storing such type of data keeping balance between minimizing storage consumption and being human readable. Should I declare the fields for all objects regardless or only include them when they are not empty? Should I store them in a dedicated array instead, or maybe just introduce some code value to be used by a switch case operator in the interpreter? Or is there some other implementation I am not aware of?

    11
    How come no true use for recent AI developments has been found yet?

    I saw people complaining the companies are yet to find the next big thing with AI, but I am already seeing countless offer good solutions for almost every field imaginable. What is this thing the tech industry is waiting for and what are all these current products if not what they had in mind?

    I am not great with understanding the business point of view of this situation and I have been out from the news for a long time, so I would really appreciate if someone could ELI5.

    29
    What are the minimum things you need to be willing to live for eternity?

    You would be immortal and all basic amenities essential for physical survival would be provided. You can have the age of your body according to your choosing and your mind won't blow off by accomodating endless amount of memory.

    You can choose anything you desire and that too at any instant which may or may not exist in real life, like an endless supply of something or a companion with the same immortality powers as yours, but you won't be able to change it in the future and there would be no going back. Also you cannot alter your mind in any way that would enable to let you tolerate living for eternity or not get bored of things.

    Ideally you would want to have everything just to be sure but by asking you the minimum requirements, it would making it more interesting to know what you think you could do without or what matters to you the most.

    33
    Romance novels for a beginner with no "impure love drama"

    I do not read books as often as I watch movies, but I am willing to create a habit of reading by taking a suggestion for a book from this community, and I want to start from this genre.

    However I am quite picky in this matter. I cannot stand romance involving breakups, betrayal, love triangle or anything of such sorts. All I am looking for a simple story where only the couple is the protagonist, if you understand what I mean. I do not wish for any other character act as a rival in their relationship. Minor inconveniences or tensions could still be tolerated but I wish for the couple to have a satisfying ending as they were destined to by spending time with each other or being involved in circumstances that reveal similarities between them.

    I would be more inclined towards stories with settings during the present times or having the characters hate each other at first, but these are optional.

    5
    What domain name to choose for an open source website where I could ask for personal donations?

    I am planning to create an open source project for a web application whose entire premise is to provide an otherwise paid service for free, so I am not planning to commercialize the project. This project is also a passion project. I seek to improve my skills by working on the application and I am not looking forward to expand it as an organization nor invest more time or resources into it than necessary.

    However I want to know if I could ask for voluntary donations which support me on a personal level and not for the project itself. I want to consider it as a passive income and I don't care how much I receive in donations as long as I am doing it ethically and someone is willing to donate for this purpose knowingly.

    If it is possible for me to ask for donations this way, how would it impact the domain of my website? Could I use .org for it being non-profit overall or would I need to use .com for asking for donations to be used for personal expenses in any manner? Or would I need to use a specific domain for this situation?

    17
    I've been disconnected from the world for a year. What happened on the internet since then?

    One year and 1.5 months to be more precise.

    Suggest me some things I should look check out or look forward to now that I am back online.

    14
    What is one show you wish wouldn't have gotten cancelled when it did?
  • Inside Job.

    I didn't really watch shows on Netflix and I couldn't care less about people complaining about their shows being cancelled left and right. But Inside Job was recommended by my friend and I loved it. After finding out it was cancelled after 2 seasons, I finally understood the pain these people were feeling all along...

  • Where to find guide on self hosting for a complete beginner?
  • Wait, is an old laptop also good enough for setting up a home server? I thought you would require a completely separated and dedicated PC box like the ones you can see in studios or offices. That's new to me!

  • Where to find guide on self hosting for a complete beginner?
  • That is a great analogy of explaining the broadness of the concept of self hosting that I wasnt able to understand from the other comments.

    As a beginner, I would like to start out with a storage provider like Google Drive (& Google Photos). I currently don't have any hardware for a home server but I can get one as per my requirements.

    The biggest issue for me would be the OS running in the home server. I would preferably want something compatible with Windows since I have worked with Windows for my whole life. I am also fine with working with Linux, however I don't want to spend weeks banging my head on setting up and using Linux before I even start configuring it for my home server. I will be able to handle learning about networkings of the server on the go and troubleshoot problems as long as the OS does not bother me. As with self hosting, I am a beginner in the field of Linux so I don't know what 'distro' would be best for me for this purpose, but nonetheless I will research more about it thanks to your headstart.

  • Streaming Has Reached Its Sad, Predictable Fate | What should I watch? is now a much easier question than How do I watch it?
  • I've heard a lot about setting up a Plex or a Jellyfin server locally, but from what I can tell they are just media storage platforms and in order to watch anything you would have to add your own content. In this age of digital content, it is very unlikely for a simpleton like me to go out and purchase hundreds of movie disks separately and manually load them into my CD drive to even have a fraction of the catalogue these streaming services combined provide. Also torrenting really isn't a viable option for me as I personally use a free tier Proton VPN which doesn't allow P2P, and even if I did get a proper one, I would still be limited to availability of seeds for movies I want to watch, which may or may not exist depending on the popularity of the said movie. I currently use a niche streaming site to watch my movies without any issues. Are self hosted plex/jellyfin servers really for a person like me?

  • Streaming Has Reached Its Sad, Predictable Fate | What should I watch? is now a much easier question than How do I watch it?
  • I've heard a lot about setting up a Plex or a Jellyfin server locally, but from what I can tell they are just media storage platforms and in order to watch anything you would have to add your own content. In this age of digital content, it is very unlikely for a simpleton like me to go out and purchase hundreds of movie disks separately and manually load them into my CD drive to even have a fraction of the catalogue these streaming services combined provide. Also torrenting really isn't a viable option for me as I personally use a free tier Proton VPN which doesn't allow P2P, and even if I did get a proper one, I would still be limited to availability of seeds for movies I want to watch, which may or may not exist depending on the popularity of the said movie. I currently use a niche streaming movie to watch my movies without any issues. Are self hosted plex/jellyfin servers really for a person like me?

  • Can you recommend books with meme culture humor?
  • Truth be told, I have been reading graphic novels for a month now. I wanted to move away from comics in favour of starting to read books, but like I said in the post, I do not know of any books that could provide a similar amount of humor as from the dialogs in these comics, which is the primary reason why I read them, not because of the illustrations.

  • Can you recommend books with meme culture humor?
  • Can you elaborate on this 'nerdy humor'? If it is what I believe it to be, I could also enjoy that. I love memes and jokes revolving around complex maths and scientific phenomena that you need to have properly studied in order to understand the humor.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)JO
    jonathanvmv8f @lemm.ee
    Posts 25
    Comments 19